PT-2021-11534

CVE-2020-28452

·

Published

2021-01-20

·

Updated

2022-01-06

Description by

CVSS 3.1
8.8
High
MetricsAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: com.softwaremill.akka-http-session:core 2.12 versions 0 through 0.6.1 com.softwaremill.akka-http-session:core 2.11 versions 0 and later com.softwaremill.akka-http-session:core 2.13 versions 0 through 0.6.1
Description: The issue allows CSRF protection to be bypassed by forging a request that contains the same value for both the X-XSRF-TOKEN header and the XSRF-TOKEN cookie value. This is because the check in randomTokenCsrfProtection only verifies that the two values are equal and non-empty.
Recommendations: For com.softwaremill.akka-http-session:core 2.12 versions 0 through 0.6.1, update to version 0.6.1 or later to resolve the issue. For com.softwaremill.akka-http-session:core 2.11, consider disabling the randomTokenCsrfProtection function until a patch is available. For com.softwaremill.akka-http-session:core 2.13 versions 0 through 0.6.1, update to version 0.6.1 or later to resolve the issue.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-4JF5-JGGP-G56J
SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046674
SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046675
SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1058933
Found an issue in the description? Have something to add? Feel free to write us 👾