### [CVE-2024-45409](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-45409) ![](https://img.shields.io/static/v1?label=Product&message=ruby-saml&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%201.12.3%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-347%3A%20Improper%20Verification%20of%20Cryptographic%20Signature&color=brighgreen) ### 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. ### POC #### Reference No PoCs from references. #### Github - https://github.com/Ostorlab/KEV - https://github.com/Threekiii/CVE - https://github.com/jefferya/saml_response_validator - https://github.com/synacktiv/CVE-2024-45409