CVE-2023-31287
JSON

7.8high

Insufficient token expiration in Serenity

Severity
7.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.43% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-2hp9-3xfr-r9w2

Description

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
Serenity.Net.Core (NuGet)before 6.7.0GitHub Advisory Database
Serenity.Net.Web (NuGet)before 6.7.0GitHub Advisory Database
serenity serenebefore 6.7.0NVD
serenity startsharpbefore 6.7.0NVD

All scores

CISA-ADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-640

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-31287 changed 2025-02-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-2hp9-3xfr-r9w2 changed 2025-01-31CC-BY-4.0
NVDCVE-2023-31287 changed 2026-06-17Public domain