Advisory

GHSA-jw9c-mfg7-9rx2

Also known as: BIT-gitlab-2024-45409, CVE-2024-45409

Summary

SAML authentication bypass via Incorrect XPath selector

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

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2024-09-10 19:42 UTC
Modified
2026-08-07 08:11 UTC

Affected packages and fixes

ruby-saml

RubyGems · All systems

Affected

  • introduced 0, fixed 1.12.3 (ecosystem)

Fixed versions

1.12.3

Fix

The export has no generic command for this ecosystem.

ruby-saml

RubyGems · All systems

Affected

  • introduced 1.13.0, fixed 1.17.0 (ecosystem)

Fixed versions

1.17.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences