CVE-2023-31287
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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| Serenity.Net.Core (NuGet) | before 6.7.0 | GitHub Advisory Database |
| Serenity.Net.Web (NuGet) | before 6.7.0 | GitHub Advisory Database |
| serenity serene | before 6.7.0 | NVD |
| serenity startsharp | before 6.7.0 | NVD |
All scores
| CISA-ADP | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-31287 changed 2025-02-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2hp9-3xfr-r9w2 changed 2025-01-31 | CC-BY-4.0 |
| NVD | CVE-2023-31287 changed 2026-06-17 | Public domain |