CVE-2024-45409
The Ruby SAML library vulnerable to a SAML authentication bypass via Incorrect XPath selector
CRITICAL 9.9EPSS 10.7%
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.
- Affected
- SAML-Toolkits · ruby-saml
- CVSS v4.0 GitHub
- 9.9 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N - CVSS v3.1 NVD
- 9.8 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS v3.1 GITHUB
- 10.0 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N - EPSS
- 10.68% chance of exploitation in the next 30 days, 96th percentile
- Nuclei
- critical · CWE-347
- Published
- 2024-09-10
- Updated
- 2024-11-11
Proof-of-concept exploits (1)
- synacktiv/CVE-2024-4540986★ · 2024-10-07
Nuclei templates (1)
Security advisories
- SAML-Toolkits/ruby-saml/security/advisories/GHSA-jw9c-mfg7-9rx2
- omniauth/omniauth-saml/security/advisories/GHSA-cvp8-5r8g-fhvq
- advisories/GHSA-jw9c-mfg7-9rx2
- SAML-Toolkits/ruby-saml/commit/1ec5392bc506fe43a02dbb66b68741051c5ffeae