This affects the package com.softwaremill.akka-http-session:core_2.12 from 0 and before 0.6.1; all versions of package com.softwaremill.akka-http-session:core_2.11; the package com.softwaremill.akka-http-session:core_2.13 from 0 and before 0.6.1. 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.
References
Link | Resource |
---|---|
https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046675 | Third Party Advisory |
https://github.com/softwaremill/akka-http-session/pull/79 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1058933 | Third Party Advisory |
https://github.com/softwaremill/akka-http-session/issues/77 | Third Party Advisory |
https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046674 | Third Party Advisory |
Configurations
Information
Published : 2021-01-20 10:15
Updated : 2021-01-27 07:22
NVD link : CVE-2020-28452
Mitre link : CVE-2020-28452
JSON object : View
CWE
CWE-352
Cross-Site Request Forgery (CSRF)
Products Affected
softwaremill
- akka-http-session