{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-31287","id":"CVE-2023-31287","title":"Insufficient token expiration in Serenity","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 resetti","descriptionLong":"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.","published":"2023-04-27T00:00:00.000Z","updated":"2026-10-28T02:31:12.005248583Z","reserved":"2023-04-27T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"NuGet","name":"Serenity.Net.Core","purl":"pkg:nuget/Serenity.Net.Core","ranges":["<6.7.0"],"fixed":["6.7.0"],"advisory":"GHSA-2hp9-3xfr-r9w2"},{"ecosystem":"NuGet","name":"Serenity.Net.Web","purl":"pkg:nuget/Serenity.Net.Web","ranges":["<6.7.0"],"fixed":["6.7.0"],"advisory":"GHSA-2hp9-3xfr-r9w2"}],"cwes":["CWE-640"],"aliases":["GHSA-2hp9-3xfr-r9w2"],"references":[{"url":"https://github.com/serenity-is/Serenity/commit/11b9d267f840513d04b4f4d4876de7823a6e48d2","tags":["x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"http://seclists.org/fulldisclosure/2023/May/14","tags":["mailing-list","x_transferred","article","web"]},{"url":"http://packetstormsecurity.com/files/172648/Serenity-StartSharp-Software-File-Upload-XSS-User-Enumeration-Reusable-Tokens.html","tags":["x_transferred","web"]},{"url":"https://packetstorm.news/files/id/172648","tags":["exploit","evidence","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31287.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31287","tags":["advisory"]},{"url":"https://github.com/serenity-is/Serenity","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00435,"epssPercentile":0.38674,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-31287","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-31287","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-31287","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2hp9-3xfr-r9w2","ok":true,"note":"GHSA-2hp9-3xfr-r9w2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-31287","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}