CVE-2018-7644 SimpleSAMLphp Improper Verification of Cryptographic Signature
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.
| Package | Affected | Fixed in |
|---|---|---|
simplesamlphp/saml2 Packagist | All versions | 1.10.5 |
simplesamlphp/saml2 Packagist | All versions | 1.10.5 |
simplesamlphp/saml2 Packagist | From 2.0 | 2.3.7 |
simplesamlphp/saml2 Packagist | From 2.0 | 2.3.7 |
simplesamlphp/saml2 Packagist | From 3.0 | 3.1.3 |
simplesamlphp/saml2 Packagist | From 3.0 | 3.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.
Other vulnerabilities in n/a
- CVE-2017-12868 SimpleSAMLphp Session fixation issue and authentication bypass in the authcrypt module
- CVE-2026-49284 SimpleSAMLphp SP accepts a response from an unexpected IdP when unsigned `Response/InResponseTo` is combined with a signed assertion lacking `SubjectConfirmationData/InResponseTo`
- CVE-2018-6520 SimpleSAMLphp Open redirection protection bypass
- CVE-2017-12870 SimpleSAMLphp Unauthenticated encryption in CBC mode
- CVE-2017-12871 SimpleSAMLphp Incorrect IV generation for encryption
Sources
Also known as DEBIAN-CVE-2018-7644, GHSA-923w-2xv2-7pr8, UBUNTU-CVE-2018-7644.