Insufficient Session Expiration Affecting serenity.net.core package, versions [,6.7.0)
Snyk CVSS
Attack Complexity
Low
Threat Intelligence
EPSS
0.04% (6th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DOTNET-SERENITYNETCORE-5488303
- published 28 Apr 2023
- disclosed 27 Apr 2023
- credit Unknown
Introduced: 27 Apr 2023
CVE-2023-31287 Open this link in a new tabHow to fix?
Upgrade Serenity.Net.Core
to version 6.7.0 or higher.
Overview
Affected versions of this package are vulnerable to Insufficient Session Expiration such that the token used in the password reset links 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.