ghsa-jw9c-mfg7-9rx2
Vulnerability from github
Published
2024-09-10 19:42
Modified
2024-09-20 22:11
Severity ?
10.0 (Critical) - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
9.9 (Critical) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
9.9 (Critical) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
Summary
SAML authentication bypass via Incorrect XPath selector
Details
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 was reported by ahacker1 of SecureSAML (ahacker1@securesaml.com)
{ affected: [ { package: { ecosystem: "RubyGems", name: "ruby-saml", }, ranges: [ { events: [ { introduced: "0", }, { fixed: "1.12.3", }, ], type: "ECOSYSTEM", }, ], }, { package: { ecosystem: "RubyGems", name: "ruby-saml", }, ranges: [ { events: [ { introduced: "1.13.0", }, { fixed: "1.17.0", }, ], type: "ECOSYSTEM", }, ], }, ], aliases: [ "CVE-2024-45409", ], database_specific: { cwe_ids: [ "CWE-347", ], github_reviewed: true, github_reviewed_at: "2024-09-10T19:42:03Z", nvd_published_at: "2024-09-10T19:15:22Z", severity: "CRITICAL", }, details: "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.\n\nThis vulnerability was reported by ahacker1 of SecureSAML (ahacker1@securesaml.com)", id: "GHSA-jw9c-mfg7-9rx2", modified: "2024-09-20T22:11:38Z", published: "2024-09-10T19:42:03Z", references: [ { type: "WEB", url: "https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-jw9c-mfg7-9rx2", }, { type: "WEB", url: "https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-cvp8-5r8g-fhvq", }, { type: "ADVISORY", url: "https://nvd.nist.gov/vuln/detail/CVE-2024-45409", }, { type: "WEB", url: "https://github.com/SAML-Toolkits/ruby-saml/commit/1ec5392bc506fe43a02dbb66b68741051c5ffeae", }, { type: "WEB", url: "https://github.com/SAML-Toolkits/ruby-saml/commit/4865d030cae9705ee5cdb12415c654c634093ae7", }, { type: "WEB", url: "https://github.com/omniauth/omniauth-saml/commit/4274e9d57e65f2dcaae4aa3b2accf831494f2ddd", }, { type: "PACKAGE", url: "https://github.com/SAML-Toolkits/ruby-saml", }, { type: "WEB", url: "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/omniauth-saml/CVE-2024-45409.yml", }, { type: "WEB", url: "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/omniauth-saml/GHSA-cvp8-5r8g-fhvq.yml", }, { type: "WEB", url: "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2024-45409.yml", }, ], schema_version: "1.4.0", severity: [ { score: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N", type: "CVSS_V3", }, { score: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N", type: "CVSS_V4", }, ], summary: "SAML authentication bypass via Incorrect XPath selector", }
Log in or create an account to share your comment.
Security Advisory comment format.
This schema specifies the format of a comment related to a security advisory.
Title of the comment
Description of the comment
Loading…
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.