CVE-2017-11430: OmniAuth-SAML authentication bypass via incorrect XML canonicalization and DOM traversal
7.7
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.70985%
CWE
Published
7/5/2019
Updated
8/29/2023
KEV Status
No
Technology
Ruby
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
omniauth-saml | rubygems | < 1.10.0 | 1.10.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper handling of XML canonicalization and text extraction in SAML responses. The NameID extraction function uses XML DOM traversal APIs (like REXML's text method) that stop at the first text node, ignoring subsequent text after comments. This allows attackers to inject comments to manipulate the effective NameID value while keeping the cryptographic signature valid. The function responsible for parsing NameID (commonly found in response handling code) would be the primary vulnerable component, as confirmed by the described attack vector and Ruby's REXML behavior.