Vulnerabilities · 2024 · Onelogin
CVE-2024-45409
Onelogin Ruby-saml vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Ruby-saml, Omniauth Saml, Gitlab. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Onelogin Ruby-saml runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-jw9c-mfg7-9rx2 · Vendor Advisory
- github.com/omniauth/omniauth-saml/security/advisories/GHSA-cvp8-5r8g-fhvq · Vendor Advisory
- github.com/SAML-Toolkits/ruby-saml/commit/1ec5392bc506fe43a02dbb66b68741051c5ffeae · Patch
- github.com/SAML-Toolkits/ruby-saml/commit/4865d030cae9705ee5cdb12415c654c634093ae7 · Patch
- lists.debian.org/debian-lts-announce/2024/11/msg00006.html
- news.ycombinator.com/item?id=41586031
- security.netapp.com/advisory/ntap-20240926-0008/
- ssoready.com/blog/engineering/ruby-saml-pwned-by-xml-signature-wrapping-attacks/
- nvd.nist.gov/vuln/detail/CVE-2024-45409
- cve.org/CVERecord?id=CVE-2024-45409
More vulnerabilities in Onelogin products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.