CVE-2024-45409criticalobserved exploitationCWE-347

CVE-2024-45409: critical vulnerability in SAML-Toolkits ruby-saml

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

Published · Updated

E-mail alert when it lands in KEV, gets a public PoC or its score goes up.

77Vexday Risk Score

Prioritize patching. It exploitation observed by VulnCheck, has an official Brazilian government alert and has a public proof of concept.

ssvc Actcvss 10epss 11%
from disclosure to weapon27 days
Published on NVDSep 10
1st PoC+27d
VulnCheck+35d
Official alert in Brazil

Brazil's federal government published an alert, recommendation or bulletin that cites this vulnerability.

Source: CTIR Gov (GSI) and CISC Gov.br, under the CC BY-ND 3.0 license.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.