{"id":"CVE-2023-31287","published":"2023-04-27T00:00:00Z","modified":"2025-02-13T16:50:05Z","title":"An issue was discovered in Serenity Serene (and StartSharp) before 6.7.0","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00314,"percentile":0.16759,"provenance":"source"},"cwes":[{"id":"CWE-640","name":"Weak Password Recovery Mechanism for Forgotten Password"}],"references":[{"url":"https://github.com/serenity-is/Serenity/commit/11b9d267f840513d04b4f4d4876de7823a6e48d2","tags":[]},{"url":"http://seclists.org/fulldisclosure/2023/May/14","tags":["mailing-list"]},{"url":"http://packetstormsecurity.com/files/172648/Serenity-StartSharp-Software-File-Upload-XSS-User-Enumeration-Reusable-Tokens.html","tags":[]},{"url":"https://packetstorm.news/files/id/172648","tags":["exploit"]}],"priority":{"score":13.8,"factors":[{"name":"EPSS percentile","points":3.35},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.46}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-01-31T18:19:06.834266Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"Serenity.Net.Core","vulnerableRanges":["<6.7.0"],"patched":["6.7.0"],"from":["GHSA-2hp9-3xfr-r9w2"],"provenance":"source"},{"ecosystem":"NuGet","package":"Serenity.Net.Web","vulnerableRanges":["<6.7.0"],"patched":["6.7.0"],"from":["GHSA-2hp9-3xfr-r9w2"],"provenance":"source"}],"summary":{"text":"The flaw lies in the password reset mechanism of Serenity Serene (and StartSharp) before version 6.7.0, where a reset token remains valid after it has been used. An attacker who can access the victim's browser history, which is where the token appears as a query parameter in the reset link, can reuse that token within its three-hour lifetime to set a new password and take over the account, requiring only local access with low privileges and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:09Z"},"euvd":{"id":"EUVD-2023-1158","exploited":false,"provenance":"source"},"exploitRefs":["https://packetstorm.news/files/id/172648","http://packetstormsecurity.com/files/172648/Serenity-StartSharp-Software-File-Upload-XSS-User-Enumeration-Reusable-Tokens.html"],"lineage":{"packageHistory":[{"cve":"CVE-2023-31285","published":"2023-04-27","fixed":"6.7.0","kev":false},{"cve":"CVE-2023-31286","published":"2023-04-27","fixed":"6.7.0","kev":false},{"cve":"CVE-2023-31287","published":"2023-04-27","fixed":"6.7.0","kev":false},{"cve":"CVE-2024-26318","published":"2024-02-19","fixed":"6.8.0","kev":false,"link":{"from":"CVE-2023-31287","to":"CVE-2024-26318","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"NuGet:Serenity.Net.Core","fromFixed":"6.7.0","toFixed":"6.8.0","daysApart":298}]}}],"package":"NuGet:Serenity.Net.Core"}}