All reports
Critical

SAML authentication bypass via Incorrect XPath selector

Affected versions

RubyGemsruby-saml
Affected versions
>= 1.13.0, < 1.17.0
Fixed version
1.17.0
RubyGemsruby-saml
Affected versions
< 1.12.3
Fixed version
1.12.3

Exploitation

CVE-2024-45409

Probability of exploitation in the next 30 days: 12.45%

FIRST EPSS · 2026-11-23

Description

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 was reported by ahacker1 of SecureSAML (ahacker1@securesaml.com)

Links

Credits

  • ahacker1-securesaml