CVE-2017-11428 Multiple SAML libraries may allow authentication bypass via incorrect XML canonicalization and DOM traversal

High 7.7 Published Updated

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.

PackageAffectedFixed in
ruby-saml RubyGemsAll versions1.7.0
ruby-saml RubyGemsAll versions1.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.

Sources

Also known as DEBIAN-CVE-2017-11428, GHSA-x2fr-v8wf-8wwv, UBUNTU-CVE-2017-11428.

Is CVE-2017-11428 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free