CVE-2024-45409
The Ruby SAML library is for implementing the client side of a SAML au ...
Overview
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.
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-347
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | gitlab | <16.11.10>=17.0.0, <17.0.8>=17.1.0, <17.1.8>=17.2.0, <17.2.7>=17.3.0, <17.3.3 | 16.11.1017.0.817.1.817.2.717.3.3 |
| RubyGems | omniauth-saml | — | 1.10.5, < 2.0.0~> 2.1.22.2.1 |
| RubyGems | ruby-saml | <1.12.3>=1.13.0, <1.17.0 | 1.12.31.17.0~> 1.12.3 |
Open a package to see all its vulnerabilities.
Operating systems · 8 fixes
debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | ruby-saml | 1.11.0-1+deb11u1 |
| 12 | ruby-saml | 1.13.0-1+deb12u1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| ruby-saml | 1.13.0-1+deb12u1 |
ubuntu 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | ruby-saml | 1.7.2-1ubuntu0.1~esm1 |
| 20.04 | ruby-saml | 1.11.0-1ubuntu0.1 |
| 20.04-ESM | ruby-saml | 1.11.0-1ubuntu0.1 |
| 22.04 | ruby-saml | 1.13.0-1ubuntu0.1 |
| 24.04 | ruby-saml | 1.15.0-1ubuntu0.24.04.1 |
References
- github.com https://github.com/SAML-Toolkits/ruby-saml
- github.com https://github.com/SAML-Toolkits/ruby-saml/commit/1ec5392bc506fe43a02dbb66b68741051c5ffeae
- github.com https://github.com/SAML-Toolkits/ruby-saml/commit/4865d030cae9705ee5cdb12415c654c634093ae7
- github.com https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-jw9c-mfg7-9rx2
- github.com https://github.com/omniauth/omniauth-saml/commit/4274e9d57e65f2dcaae4aa3b2accf831494f2ddd
- github.com https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-cvp8-5r8g-fhvq
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/omniauth-saml/CVE-2024-45409.yml
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/omniauth-saml/GHSA-cvp8-5r8g-fhvq.yml
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2024-45409.yml
- lists.debian.org https://lists.debian.org/debian-lts-announce/2024/11/msg00006.html
Show all 16 references
- news.ycombinator.com https://news.ycombinator.com/item?id=41586031
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-45409
- security.netapp.com https://security.netapp.com/advisory/ntap-20240926-0008/
- ssoready.com https://ssoready.com/blog/engineering/ruby-saml-pwned-by-xml-signature-wrapping-attacks/
- ubuntu.com https://ubuntu.com/security/notices/USN-7309-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-45409
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.