CVE-2024-45409: fallo crítico en SAML-Toolkits ruby-saml
The Ruby SAML library vulnerable to a SAML authentication bypass via Incorrect XPath selector
Publicada el · Actualizada el
Aviso por correo cuando entre en el KEV, tenga PoC pública o suba de nota.
77Vexday Risk Score
Prioriza la corrección. Ella explotación observada en la práctica, tiene alerta oficial del gobierno de Brasil y tiene prueba de concepto pública.
ssvc Actcvss 10epss 12%
de la publicación al arma27 días
Publicada en NVD10 sept
1ª PoC+27d
Explotación observada+35d
Alerta oficial en Brasil
El gobierno federal de Brasil publicó una alerta, recomendación o boletín que cita esta vulnerabilidad.
- CTIR Gov · ALERTA 22/2024Vulnerabilidades críticas no GitLableer en gov.br ↗
Fuente: CTIR Gov (GSI) y CISC Gov.br, bajo licencia CC BY-ND 3.0.
The Ruby SAML library is for implementing the client side of a SAML authorization. Ruby-SAML in <= 12.2 and 1.13.0 <= 1.16.0 does not properly verify the signature of the SAML Response. An unauthenticated attacker with access to any signed saml document (by the IdP) can thus forge a SAML Response/Assertion with arbitrary contents. This would allow the attacker to log in as arbitrary user within the vulnerable system. This vulnerability is fixed in 1.17.0 and 1.12.3.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Productos afectados
SAML-Toolkits · ruby-samlPoCs públicas encontradas — 1
githubgithub.com/synacktiv/CVE-2024-45409★ 83⚠ Recursos públicos, para evaluar la exposición de sistemas que controlas o estás autorizado a probar. Prueba solo con autorización.
CVEs relacionadas — SAML-Toolkits ruby-saml
En el mismo producto, de las más peligrosas a las menos.
CVE-2025-25292CRITICALRuby SAML vulnerable to SAML authentication bypass due to namespace handling (parser differential)EPSS 65.1%CVE-2025-25291CRITICALruby-saml vulnerable to SAML authentication bypass due to DOCTYPE handling (parser differential)EPSS 21.0%CVE-2025-25293HIGHruby-saml vulnerable to Remote Denial of Service (DoS) with compressed SAML responsesEPSS 1.5%CVE-2025-54572MEDIUMRuby SAML DOS vulnerability with large SAML responseEPSS 0.5%CVE-2025-66567CRITICALruby-saml has a SAML authentication bypass due to namespace handling (parser differential)EPSS 0.4%CVE-2025-66568CRITICALruby-saml Libxml2 Canonicalization errors can bypass Digest/Signature validationEPSS 0.3%
Referencias
https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-cvp8-5r8g-fhvqhttps://github.com/SAML-Toolkits/ruby-saml/commit/1ec5392bc506fe43a02dbb66b68741051c5ffeaehttps://github.com/SAML-Toolkits/ruby-saml/commit/4865d030cae9705ee5cdb12415c654c634093ae7https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-jw9c-mfg7-9rx2https://lists.debian.org/debian-lts-announce/2024/11/msg00006.htmlhttps://news.ycombinator.com/item?id=41586031https://security.netapp.com/advisory/ntap-20240926-0008/https://ssoready.com/blog/engineering/ruby-saml-pwned-by-xml-signature-wrapping-attacks/