Cross-site Request Forgery (CSRF)

Affecting com.softwaremill.akka-http-session:core_2.12 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.12 to version 0.6.1 or higher.

References

CVSS Score

6.3
medium severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    Required
  • Scope
    Unchanged
  • Confidentiality
    Low
  • Integrity
    Low
  • Availability
    Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Credit
Willem Vermeer
CVE
CVE-2020-28452
CWE
CWE-352
Snyk ID
SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046674
Disclosed
24 Nov, 2020
Published
21 Jan, 2021