VDB
Sign up
CRITICAL10.0

GHSA-jw9c-mfg7-9rx2

SAML authentication bypass via Incorrect XPath selector

Quick fix

GHSA-jw9c-mfg7-9rx2 — ruby-saml: upgrade to the fixed version with the command below.

bundle update ruby-saml

Details

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)

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/ruby-saml
Introduced in: 0Fixed in: 1.12.3
Fixbundle update ruby-saml
RubyGems/ruby-saml
Introduced in: 1.13.0Fixed in: 1.17.0
Fixbundle update ruby-saml

References