CVE-2017-11428 Multiple SAML libraries may allow authentication bypass via incorrect XML canonicalization and DOM traversal
Attackers can bypass SAML authentication by manipulating XML data without invalidating signatures, affecting Ruby-SAML library users.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-11428?
CVE-2017-11428 is a high-severity authentication bypass vulnerability in OneLogin Ruby-SAML, published on 17 Apr 2019. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
OneLogin Ruby-SAML 1.6.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.
Weakness: CWE-287
Which versions are affected by CVE-2017-11428?
2 open source packages ship an affected version, including ruby-saml. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ruby-saml RubyGems | All versions | 1.7.0 |
ruby-saml RubyGems | All versions | 1.7.0 |
Products include Onelogin Ruby-Saml.
How do I fix CVE-2017-11428?
Upgrade ruby-saml to 1.7.0 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2017-11428 being exploited?
There is no known exploitation of CVE-2017-11428 in the wild and no public exploit code.
Other vulnerabilities in OneLogin Ruby-SAML
- CVE-2015-20108 ruby-saml vulnerable to XPath injection
- CVE-2025-66567 ruby-saml has a SAML authentication bypass due to namespace handling (parser differential)
- CVE-2025-66568 ruby-saml Libxml2 Canonicalization errors can bypass Digest/Signature validation
- CVE-2016-5697 Ruby-saml allows attackers to perform XML signature wrapping attacks
Sources
Also known as DEBIAN-CVE-2017-11428, GHSA-x2fr-v8wf-8wwv, UBUNTU-CVE-2017-11428.