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.
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2023-1158 | 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. |
Github GHSA |
GHSA-2hp9-3xfr-r9w2 | Insufficient token expiration in Serenity |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 31 Jan 2025 19:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
ssvc
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2025-02-13T16:50:05.795Z
Reserved: 2023-04-27T00:00:00.000Z
Link: CVE-2023-31287
Updated: 2024-08-02T14:53:30.912Z
Status : Modified
Published: 2023-04-27T03:15:10.200
Modified: 2025-01-31T19:15:15.130
Link: CVE-2023-31287
No data.
OpenCVE Enrichment
No data.
Weaknesses
EUVD
Github GHSA