~ / search / GHSA-jw9c-mfg7-9rx2

GHSA-jw9c-mfg7-9rx2

SAML authentication bypass via Incorrect XPath selector

Source: GitHub Advisory Database (reviewed) Critical CVE-2024-45409

Packages

EcosystemPackageAffectedFixed in
RubyGems ruby-saml < 1.12.3 1.12.3
RubyGems ruby-saml >= 1.13.0, < 1.17.0 1.17.0

Details

As written in the advisory (Markdown source, shown as plain text).

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 ([email protected])

References

External links from the advisory. They lead to third-party sites.