Cross-site Request Forgery (CSRF)
Affecting com.softwaremill.akka-http-session:core_2.13 artifact, versions [0,0.6.1)
Report new vulnerabilities
Do your applications use this vulnerable package?
Test your applications
Overview
Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). CSRF protection can be bypassed by forging a request that contains the same value for both the X-XSRF-TOKEN
header and the XSRF-TOKEN
cookie value, as the check in randomTokenCsrfProtection
only checks that the two values are equal and non-empty.
Remediation
Upgrade com.softwaremill.akka-http-session:core_2.13
to version 0.6.1 or higher.
References
CVSS Score
6.3
medium severity
-
Attack VectorNetwork
-
Attack ComplexityLow
-
Privileges RequiredNone
-
User InteractionRequired
-
ScopeUnchanged
-
ConfidentialityLow
-
IntegrityLow
-
AvailabilityLow
- Credit
- Willem Vermeer
- CVE
- CVE-2020-28452
- CWE
- CWE-352
- Snyk ID
- SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1058933
- Disclosed
- 24 Nov, 2020
- Published
- 21 Jan, 2021