First published: Wed Jan 20 2021(Updated: )
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.
Credit: report@snyk.io
Affected Software | Affected Version | How to fix |
---|---|---|
Akka HTTP Session | <0.6.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2020-28452 is rated as a critical vulnerability due to the potential for Cross-Site Request Forgery (CSRF) bypass.
To mitigate CVE-2020-28452, upgrade to Akka HTTP Session version 0.6.1 or later.
CVE-2020-28452 affects all versions of the Akka HTTP Session package prior to version 0.6.1 for Scala 2.11, 2.12, and 2.13.
CVE-2020-28452 enables attackers to bypass CSRF protection, which can lead to unauthorized actions on behalf of authenticated users.
While specific exploits for CVE-2020-28452 may not be publicly documented, the vulnerability itself allows for CSRF attacks that could be exploited.