High severity8.1NVD Advisory· Published Mar 5, 2018· Updated Jun 17, 2026
CVE-2018-7711
CVE-2018-7711
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
simplesamlphp/saml2Packagist | < 1.10.6 | 1.10.6 |
simplesamlphp/saml2Packagist | >= 2.0, < 2.3.8 | 2.3.8 |
simplesamlphp/saml2Packagist | >= 3.0, < 3.1.4 | 3.1.4 |
Affected products
4Patches
Vulnerability mechanics
References
6- github.com/simplesamlphp/saml2/commit/4f6af7f69f29df8555a18b9bb7b646906b45924dnvdPatchWEB
- github.com/advisories/GHSA-g888-g2pp-82hfghsaADVISORY
- lists.debian.org/debian-lts-announce/2018/03/msg00017.htmlnvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2018-7711ghsaADVISORY
- simplesamlphp.org/security/201803-01nvdVendor AdvisoryWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/saml2/CVE-2018-7711.yamlghsaWEB
News mentions
0No linked articles in our index yet.