CVE-2018-7711
HIGH 8.1CVSS 3.0SimpleSAMLphp saml2 incorrect signature validation
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.
- Published
- 5 Mar 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-347
- Also known as
- GHSA-g888-g2pp-82hf
- Sources
- NVDJSONOSV GHSA-g888-g2pp-82hfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | simplesamlphp | simplesamlphpcpe:2.3:a:simplesamlphp:simplesamlphp:*:*:*:*:*:*:*:* |
< 1.15.4 | 1.15.4 |
| NVD | simplesamlphp | saml2cpe:2.3:a:simplesamlphp:saml2:*:*:*:*:*:*:*:* |
>= 1.0.0, < 1.10.6 | 1.10.6 |
| NVD | simplesamlphp | saml2cpe:2.3:a:simplesamlphp:saml2:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.3.8 | 2.3.8 |
| NVD | simplesamlphp | saml2cpe:2.3:a:simplesamlphp:saml2:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.1.4 | 3.1.4 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| OSV | Packagist | simplesamlphp/saml2 | < 1.10.6 | 1.10.6 |
| OSV | Packagist | simplesamlphp/saml2 | >= 2.0, < 2.3.8 | 2.3.8 |
| OSV | Packagist | simplesamlphp/saml2 | >= 3.0, < 3.1.4 | 3.1.4 |
References
- https://github.com/simplesamlphp/saml2/commit/4f6af7f69f29df8555a18b9bb7b646906b45924d · Patch, WEB
- https://lists.debian.org/debian-lts-announce/2018/03/msg00017.html · Third Party Advisory, WEB
- https://simplesamlphp.org/security/201803-01 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-7711 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/saml2/CVE-2018-7711.yaml · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 5 Mar 2018)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 May 2022)