CRITICAL 10.0 RubyGems

SAML authentication bypass via Incorrect XPath selector

GHSA-jw9c-mfg7-9rx2 · BIT-gitlab-2024-45409 · CVE-2024-45409

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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)

Ready to move

Start Securing

Free, no credit card | First findings in minutes