GHSA-2hp9-3xfr-r9w2

    Dashboard / Vulnerabilities / GHSA-2hp9-3xfr-r9w2

    GHSA-2hp9-3xfr-r9w2

    Published: 27 Apr 2023Last Modified: 31 Jan 2025

    Summary: Insufficient token expiration in Serenity

    Details: An issue was discovered in Serenity Serene (and StartSharp) before 6.7.0. Password reset links are sent by email. A link contains a token that is used to reset the password. This token remains valid even after the password reset and can be used a second time to change the password of the corresponding user. The token expires only 3 hours after issuance and is sent as a query parameter when resetting. An attacker with access to the browser history can thus use the token again to change the password in order to take over the account.

    Affected packages

    Package

    Name: Serenity.Net.Core

    Purl: pkg:nuget/Serenity.Net.Core

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -6.7.0

    Affected versions

    5.0.0
    5.0.1
    5.0.10
    5.0.11
    5.0.12
    5.0.13
    5.0.17
    5.0.18
    5.0.19
    5.0.2
    5.0.20
    5.0.21
    5.0.22
    5.0.23
    5.0.24
    5.0.25
    5.0.26
    5.0.27
    5.0.28
    5.0.29
    5.0.3
    5.0.30
    5.0.31
    5.0.32
    5.0.33
    5.0.34
    5.0.35
    5.0.36
    5.0.37
    5.0.38
    5.0.39
    5.0.4
    5.0.40
    5.0.41
    5.0.42
    5.0.43
    5.0.44
    5.0.45
    5.0.46
    5.0.47
    5.0.48
    5.0.49
    5.0.5
    5.0.50
    5.0.51
    5.0.6
    5.0.7
    5.0.8
    5.0.9

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-2hp9-3xfr-r9w2 | CVE-DB