PT-2025-11127 · Ruby-Saml+3 · Ruby-Saml+3
Ahacker1
+1
·
Published
2025-03-12
·
Updated
2025-09-26
·
CVE-2025-25291
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
ruby-saml versions prior to 1.12.4 and 1.18.0
Description
An authentication bypass vulnerability was found in ruby-saml due to a parser differential. ReXML and Nokogiri parse XML differently; the parsers can generate entirely different document structures from the same XML input. This allows an attacker to execute a Signature Wrapping attack, which may lead to authentication bypass.
Recommendations
To resolve the issue, update ruby-saml to version 1.12.4 or 1.18.0, or later.
As a temporary workaround, consider disabling the
checkPassword() function or restricting access to the vulnerable ruby-saml module until a patch is available.
Avoid using the SAMLResponse parameter in the affected API endpoint until the issue is resolved.Exploit
Fix
DoS
Improper Verification of Cryptographic Signature
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Debian
Linuxmint
Ubuntu
Ruby-Saml