CVE-2017-11430: Omniauth saml Authentication Bypass Vulnerability
HIGHCVE-2017-11430 is a HIGH (CVSS 7.7) authentication bypass vulnerability (CWE-287: Improper Authentication) affecting Omniauth saml libraries in the RubyGems ecosystem. The issue involves omniauth-saml authentication bypass via incorrect xml canonicalization and dom traversal. Remediation is available by upgrading affected packages to version 1.10.0.
CVE-2017-11430 at a Glance
Security Impact
CVSS: 7.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N).
How to Fix CVE-2017-11430
To remediate this vulnerability, upgrade all affected Omniauth saml dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade omniauth-saml to 1.10.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for omniauth-saml
How to Check if You Are Affected
To determine whether your application is affected by CVE-2017-11430, inspect your project dependencies for Omniauth saml:
inspect dependencies for omniauth-saml
Analyze the terminal output to locate any version of Omniauth saml in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.10.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Omniauth saml, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2017-11430 Affected Omniauth saml Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
omniauth-saml
|
RubyGems |
< 1.10.0
|
1.10.0
|
References
Frequently Asked Questions
What is CVE-2017-11430?
Which Omniauth saml versions are affected?
What version fixes CVE-2017-11430?
Is omniauth-saml affected?
What is the CVSS score of CVE-2017-11430?
What CWE is associated with CVE-2017-11430?
How can I check RubyGems dependencies for CVE-2017-11430?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-94hm-8q65-rmxm",
"modified" : "2023-08-29T14:57:21Z",
"published" : "2019-07-05T21:11:43Z",
"aliases" : [ "CVE-2017-11430" ],
"summary" : "OmniAuth-SAML authentication bypass via incorrect XML canonicalization and DOM traversal",
"details" : "OmniAuth OmniAuth-SAML 1.9.0 and earlier may incorrectly utilize the results of XML DOM traversal and canonicalization APIs in such a way that an attacker may be able to manipulate the SAML data without invalidating the cryptographic signature, allowing the attack to potentially bypass authentication to SAML service providers.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "omniauth-saml"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.10.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-11430"
}, {
"type" : "WEB",
"url" : "https://duo.com/blog/duo-finds-saml-vulnerabilities-affecting-multiple-implementations"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/omniauth/omniauth-saml"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/omniauth-saml/CVE-2017-11430.yml"
}, {
"type" : "WEB",
"url" : "https://www.kb.cert.org/vuls/id/475445"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:27:27Z",
"nvd_published_at" : null
}
}