title: Cross-site Request Forgery (CSRF)
description: 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.
problem types: Cross-site Request Forgery (CSRF)
affected:
{
product: com.softwaremill.akka-http-session:core_2.12
vendor: n/a
versions:
lessThan: unspecified, status: affected, version: 0, versionType: custom
lessThan: 0.6.1, status: affected, version: unspecified, versionType: custom
}
{
product: com.softwaremill.akka-http-session:core_2.11
vendor: n/a
versions:
lessThan: unspecified, status: affected, version: 0, versionType: custom
}
{
product: com.softwaremill.akka-http-session:core_2.13
vendor: n/a
versions:
lessThan: unspecified, status: affected, version: 0, versionType: custom
lessThan: 0.6.1, status: affected, version: unspecified, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: LOW
baseScore: 6.3
baseSeverity: MEDIUM
confidentialityImpact: LOW
integrityImpact: LOW
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
version: 3.1
]