CVE-2024-45409

CRITICAL EPSS 95.3%
Published Sep 10, 20241y ago · Modified Jun 17, 20261w ago
9.8 CVSS 3.1
Critical
Find Similar
Published Sep 10, 2024 1y ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
9.8
Exploitability
3.9
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
95.3% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-347

Affected Products 10

VendorProductVersionRange
oneloginruby-saml* <1.12.3
oneloginruby-saml*≥1.13.0  –  <1.17.0
omniauthomniauth_saml* ≤1.10.3
omniauthomniauth_saml2.0.0any
omniauthomniauth_saml2.1.0any
gitlabgitlab* <16.11.10
gitlabgitlab*≥17.0.0  –  <17.0.8
gitlabgitlab*≥17.1.0  –  <17.1.8
gitlabgitlab*≥17.2.0  –  <17.2.7
gitlabgitlab*≥17.3.0  –  <17.3.3

References 8

  • github.com https://github.com/SAML-Toolkits/ruby-saml/commit/1ec5392bc506fe43a02dbb66b68741051c5ffeae
    Patch
  • github.com https://github.com/SAML-Toolkits/ruby-saml/commit/4865d030cae9705ee5cdb12415c654c634093ae7
    Patch
  • github.com https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-jw9c-mfg7-9rx2
    Vendor Advisory
  • github.com https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-cvp8-5r8g-fhvq
    Vendor Advisory
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2024/11/msg00006.html
  • news.ycombinator.com https://news.ycombinator.com/item?id=41586031
  • 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/

Remediation

  • github.com https://github.com/SAML-Toolkits/ruby-saml/commit/1ec5392bc506fe43a02dbb66b68741051c5ffeae
    Patch
  • github.com https://github.com/SAML-Toolkits/ruby-saml/commit/4865d030cae9705ee5cdb12415c654c634093ae7
    Patch