CVE-2020-28452
Softwaremill Akka-http-session vulnerability
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.
Affected products
Akka-http-session. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Softwaremill Akka-http-session runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/softwaremill/akka-http-session/pull/79 · Patch
- 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
- nvd.nist.gov/vuln/detail/CVE-2020-28452
- cve.org/CVERecord?id=CVE-2020-28452
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.