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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45409.json",
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-347"
]
}{
"source": "CPE_FIELD",
"cpe": [
"cpe:2.3:a:omniauth:omniauth_saml:*:*:*:*:*:ruby:*:*",
"cpe:2.3:a:omniauth:omniauth_saml:2.0.0:*:*:*:*:ruby:*:*",
"cpe:2.3:a:omniauth:omniauth_saml:2.1.0:*:*:*:*:ruby:*:*"
],
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "1.10.3"
},
{
"last_affected": "2.0.0"
},
{
"last_affected": "2.1.0"
}
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.12.3"
},
{
"introduced": "1.13.0"
},
{
"fixed": "1.17.0"
}
],
"cpe": "cpe:2.3:a:onelogin:ruby-saml:*:*:*:*:*:*:*:*",
"source": [
"CPE_FIELD",
"REFERENCES"
]
}