CVE-2018-7644 SimpleSAMLphp Improper Verification of Cryptographic Signature

High 7.5 Published Updated

Attackers can bypass SAML signature verification to impersonate users, requiring an upgrade of the SimpleSAMLphp library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-7644?

CVE-2018-7644 is a high-severity authentication bypass vulnerability in n/a, published on 5 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The XmlSecLibs library as used in the saml2 library in SimpleSAMLphp before 1.15.3 incorrectly verifies signatures on SAML assertions, allowing a remote attacker to construct a crafted SAML assertion on behalf of an Identity Provider that would pass as cryptographically valid, thereby allowing them to impersonate a user from that Identity Provider, aka a key confusion issue.

Weakness: CWE-347

Which versions are affected by CVE-2018-7644?

6 open source packages ship an affected version, including simplesamlphp/saml2. It affects 1 product.

PackageAffectedFixed in
simplesamlphp/saml2 PackagistAll versions1.10.5
simplesamlphp/saml2 PackagistAll versions1.10.5
simplesamlphp/saml2 PackagistFrom 2.02.3.7
simplesamlphp/saml2 PackagistFrom 2.02.3.7
simplesamlphp/saml2 PackagistFrom 3.03.1.3
simplesamlphp/saml2 PackagistFrom 3.03.1.3

Products include Simplesamlphp Simplesamlphp.

How do I fix CVE-2018-7644?

Upgrade simplesamlphp/saml2 to a fixed version for your release line: 1.10.5, 2.3.7 or 3.1.3.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2018-7644 being exploited?

There is no known exploitation of CVE-2018-7644 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2018-7644, GHSA-923w-2xv2-7pr8, UBUNTU-CVE-2018-7644.

Is CVE-2018-7644 in your software?

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

Check your SBOMs for free