CVE-2018-7711
SimpleSAMLphp saml2 incorrect signature validation
Reported by mitre · Published March 5, 2018
simplesamlphp/saml2 is fixed in 3.1.4, 2.3.8 and 1.10.6 (Packagist)
HTTPRedirect.php in the saml2 library in SimpleSAMLphp before 1.15.4 has an incorrect check of return values in the signature validation utilities, allowing an attacker to get invalid signatures accepted as valid by forcing an error during validation. This occurs because of a dependency on PHP functionality that interprets a -1 error code as a true boolean value.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| simplesamlphp/saml2 | Packagist | 3.1.4, 2.3.8, 1.10.6 |
| simplesamlphp | simplesamlphp | 1.15.4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| simplesamlphp | saml2 | 0, 2.0.0, 3.0.0 |
| n/a | n/a | * |
Timeline
- Mar 5, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory
- Jun 17, 2026 CVE Updated
- Sep 19, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-7711
vulnetix vdb fixes CVE-2018-7711
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-7711/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- [debian-lts-announce] 20180323 [SECURITY] [DLA 1314-1] simplesamlphp security update mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2018-7711 advisory