CVE-2025-25291

ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. An authentication bypass vulnerability was found in ruby-saml prior to versions 1.12.4 and 1.18.0 due to a parser differential. ReXML and Nokogiri parse XML differently; the parsers can generate entirely different document structures from the same XML input. That allows an attacker to be able to execute a Signature Wrapping attack. This issue may lead to authentication bypass. Versions 1.12.4 and 1.18.0 fix the issue.
CVSS

No CVSS.

Configurations

No configuration.

History

20 Mar 2025, 14:15

Type Values Removed Values Added
References
  • () https://portswigger.net/research/saml-roulette-the-hacker-always-wins -

15 Mar 2025, 21:15

Type Values Removed Values Added
References
  • () https://news.ycombinator.com/item?id=43374519 -

14 Mar 2025, 10:15

Type Values Removed Values Added
Summary
  • (es) ruby-saml proporciona inicio de sesión único (SSO) con lenguaje de marcado para aserciones de seguridad (SAML) para Ruby. Se detectó una vulnerabilidad de omisión de autenticación en ruby-saml anterior a las versiones 1.12.4 y 1.18.0 debido a una diferencia en el analizador. ReXML y Nokogiri analizan XML de forma diferente; los analizadores pueden generar estructuras de documento completamente distintas a partir de la misma entrada XML. Esto permite a un atacante ejecutar un ataque de envoltura de firma. Este problema puede provocar la omisión de autenticación. Las versiones 1.12.4 y 1.18.0 solucionan el problema.
References
  • () https://security.netapp.com/advisory/ntap-20250314-0010/ -

12 Mar 2025, 22:15

Type Values Removed Values Added
References
  • () https://github.blog/security/sign-in-as-anyone-bypassing-saml-sso-authentication-with-parser-differentials -

12 Mar 2025, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-12 21:15

Updated : 2025-03-20 14:15


NVD link : CVE-2025-25291

Mitre link : CVE-2025-25291

CVE.ORG link : CVE-2025-25291


JSON object : View

Products Affected

No product.

CWE
CWE-347

Improper Verification of Cryptographic Signature

CWE-436

Interpretation Conflict