CSRF in Softwaremill Akka-Http-Session
CVE-2020-28452
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.
Vulnerability class: CSRF (Cross-Site Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.005, 45.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Softwaremill Akka-Http-Session
- Com.softwaremill.akka-Http-Session:core 2.11 — versions 0
- Com.softwaremill.akka-Http-Session:core 2.12 — versions 0, unspecified
- Com.softwaremill.akka-Http-Session:core 2.13 — versions 0, unspecified
Weakness classification (CWE)
References
- github.com/softwaremill/akka-http-session/issues/77 (Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046674 (Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046675 (Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1058933 (Third Party Advisory)
- github.com/softwaremill/akka-http-session/pull/79 (Patch, Third Party Advisory)