Improper Verification of Cryptographic Signature
CVE-2024-45409
Summary
The Ruby SAML library is for implementing the client side of a SAML authorization. In ruby-saml package versions through 1.12.2, and 1.13.0 through 1.16.0, it 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 an arbitrary user within the vulnerable system.
- LOW
- NETWORK
- HIGH
- UNCHANGED
- NONE
- NONE
- HIGH
- HIGH
CWE-347 - Improper Verification of Cryptographic Signature
A cryptographic protocol is meant to ensure that services are provided in a secure manner. An application with absent or improper verification of cryptographic signatures allows malicious users to feed false messages to valid users or to disclose sensitive data, subverting the goals of the protocol. This can lead to security failures such as false authentication, account hijacking, and privilege escalation.
References
Advisory Timeline
- Published