{ "id": "CVE-2020-28452", "sourceIdentifier": "report@snyk.io", "published": "2021-01-20T18:15:12.437", "lastModified": "2021-01-27T15:22:04.827", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "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." }, { "lang": "es", "value": "Esto afecta al paquete com.softwaremill.akka-http-session:core_2.12 desde versi\u00f3n 0 y anterior a 0.6.1; todas las versiones del paquete com.softwaremill.akka-http-session:core_2.11; el paquete com.softwaremill.akka-http-session:core_2.13 desde versi\u00f3n 0 y anteriores a 0.6.1. La protecci\u00f3n CSRF puede ser omitida mediante una falsificaci\u00f3n de una petici\u00f3n que contiene el mismo valor para el encabezado X-XSRF-TOKEN y el valor de la cookie XSRF-TOKEN, ya que la comprobaci\u00f3n en randomTokenCsrfProtection solo comprueba que los dos valores sean iguales y no est\u00e9n vac\u00edos" } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 8.8, "baseSeverity": "HIGH" }, "exploitabilityScore": 2.8, "impactScore": 5.9 }, { "source": "report@snyk.io", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW", "baseScore": 6.3, "baseSeverity": "MEDIUM" }, "exploitabilityScore": 2.8, "impactScore": 3.4 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P", "accessVector": "NETWORK", "accessComplexity": "MEDIUM", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "baseScore": 6.8 }, "baseSeverity": "MEDIUM", "exploitabilityScore": 8.6, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": true } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-352" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:softwaremill:akka-http-session:*:*:*:*:*:*:*:*", "versionEndExcluding": "0.6.1", "matchCriteriaId": "FF5BAC0D-977E-4B07-B408-B1C7CBC1A77A" } ] } ] } ], "references": [ { "url": "https://github.com/softwaremill/akka-http-session/issues/77", "source": "report@snyk.io", "tags": [ "Third Party Advisory" ] }, { "url": "https://github.com/softwaremill/akka-http-session/pull/79", "source": "report@snyk.io", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046674", "source": "report@snyk.io", "tags": [ "Third Party Advisory" ] }, { "url": "https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046675", "source": "report@snyk.io", "tags": [ "Third Party Advisory" ] }, { "url": "https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1058933", "source": "report@snyk.io", "tags": [ "Third Party Advisory" ] } ] }