Insufficient Session Expiration Affecting serenity.net.web package, versions [,6.7.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (15th 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 Learn

Learn about Insufficient Session Expiration vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DOTNET-SERENITYNETWEB-5488302
  • published28 Apr 2023
  • disclosed27 Apr 2023
  • creditUnknown

Introduced: 27 Apr 2023

CVE-2023-31287  (opens in a new tab)
CWE-613  (opens in a new tab)

How to fix?

Upgrade Serenity.Net.Web 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.

CVSS Scores

version 3.1