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

VectorAV: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

Weakness Enumeration

Related Identifiers

BDU:2025-02818
BIT-GITLAB-2025-25291
CVE-2025-25291
DLA-4115-1
GHSA-4VC4-M8QH-G8JM
GHSA-HW46-3HMR-X9XV
USN-7409-1

Affected Products

Debian
Linuxmint
Ubuntu
Ruby-Saml