{ "id": "CVE-2021-41274", "sourceIdentifier": "security-advisories@github.com", "published": "2021-11-17T20:15:10.463", "lastModified": "2021-11-24T04:48:51.327", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "solidus_auth_devise provides authentication services for the Solidus webstore framework, using the Devise gem. In affected versions solidus_auth_devise is subject to a CSRF vulnerability that allows user account takeover. All applications using any version of the frontend component of `solidus_auth_devise` are affected if `protect_from_forgery` method is both: Executed whether as: A `before_action` callback (the default) or A `prepend_before_action` (option `prepend: true` given) before the `:load_object` hook in `Spree::UserController` (most likely order to find). Configured to use `:null_session` or `:reset_session` strategies (`:null_session` is the default in case the no strategy is given, but `rails --new` generated skeleton use `:exception`). Users should promptly update to `solidus_auth_devise` version `2.5.4`. Users unable to update should if possible, change their strategy to `:exception`. Please see the linked GHSA for more workaround details." }, { "lang": "es", "value": "solidus_auth_devise proporciona servicios de autenticaci\u00f3n para el framework Solidus webstore, usando la gema Devise. En las versiones afectadas, solidus_auth_devise est\u00e1 sujeto a una vulnerabilidad de tipo CSRF que permite la toma de posesi\u00f3n de cuentas de usuario. Todas las aplicaciones que usan cualquier versi\u00f3n del componente frontend de \"solidus_auth_devise\" est\u00e1n afectadas si el m\u00e9todo \"protect_from_forgery\" es ambos: Se ejecuta como: Una devoluci\u00f3n de llamada \"before_action\" (la predeterminada) o Una \"prepend_before_action\" (opci\u00f3n \"prepend: true\" dada) antes del hook \":load_object\" en \"Spree::UserController\" (orden m\u00e1s probable de encontrar). Configurado para usar las estrategias \":null_session\" o \":reset_session\" (\":null_session\" es la predeterminada en caso de que no se d\u00e9 ninguna estrategia, pero el esqueleto generado por \"rails --new\" usa \":exception\"). Los usuarios deber\u00edan actualizar r\u00e1pidamente a la versi\u00f3n \"solidus_auth_devise\" \"2.5.4\". Los usuarios que no puedan actualizar deber\u00edan, si es posible, cambiar su estrategia a \":exception\". Por favor, consulte el enlace GHSA para m\u00e1s detalles sobre la soluci\u00f3n." } ], "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": "security-advisories@github.com", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE", "baseScore": 9.3, "baseSeverity": "CRITICAL" }, "exploitabilityScore": 2.8, "impactScore": 5.8 } ], "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": "security-advisories@github.com", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-352" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:nebulab:solidus_auth_devise:*:*:*:*:*:ruby:*:*", "versionStartIncluding": "1.0.0", "versionEndExcluding": "2.5.4", "matchCriteriaId": "CADA35C1-B317-4F1A-9486-410440DC1063" } ] } ] } ], "references": [ { "url": "https://github.com/solidusio/solidus_auth_devise/commit/731a6645e90ea9fd228f78ec53c6976c048a0555", "source": "security-advisories@github.com", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/solidusio/solidus_auth_devise/security/advisories/GHSA-xm34-v85h-9pg2", "source": "security-advisories@github.com", "tags": [ "Exploit", "Third Party Advisory" ] } ] }