Exploit database

Vulnerability

CVE-2024-45409

The Ruby SAML library vulnerable to a SAML authentication bypass via Incorrect XPath selector

Vulnerability details

Score
10.0
Severity
critical

CVSS 3.1 · GitHub_M

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

Description

The Ruby SAML library is for implementing the client side of a SAML authorization. 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 is fixed in 1.17.0 and 1.12.3.

CVE Program

Exploit source choices

2 sources
synacktiv/cve-2024-45409
GH-e7871bffc262077a95c8cce479bf4ca3GitHubUnofficial GitHub sourcePreferred

Ruby-SAML / GitLab Authentication Bypass (CVE-2024-45409) exploit

2024-10-072 files · 86 stars
barkotenicholas/cve-2024-45409
GH-8a65467f7a9a103583d3ac42dc1f7f43GitHubUnofficial GitHub source

barkotenicholas/cve-2024-45409 source repository

2026-10-2510 files · 0 stars