CVE-2018-7711 json
SimpleSAMLphp saml2 incorrect signature validation
published 8y ago modified 4mo ago also GHSA-g888-g2pp-82hf , EUVD-2022-3924
- cvss
- 8.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist simplesamlphp/saml2 1.10.6, 2.3.8, 3.1.4
- simplesamlphp simplesamlphp 1.15.4
- simplesamlphp saml2 1.10.6, 2.3.8, 3.1.4
- simplesamlphp Debian 14, Debian 12 1.15.4-1
debian advisories DEBIAN-CVE-2018-7711
Is CVE-2018-7711 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-7711 updated cvss 5.6
php-simplesamlphp-saml2: Authentication Bypass in the signature validation utilities
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.19% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | simplesamlphp/saml2 | <1.10.6 >=2.0, <2.3.8 >=3.0, <3.1.4 |
1.10.6 2.3.8 3.1.4 |
Classification
- Weakness
-
- CWE-347 Improper Verification of Cryptographic Signature
References
-
github.com
/simplesamlphp/saml2/commit/4f6af7f69f29df8555a18b9bb7b646906b45924d
web, patch
-
simplesamlphp.org
/security/201803-01
web, vendor-advisory
-
lists.debian.org
/debian-lts-announce/2018/03/msg00017.html
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2018-7711
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/saml2/CVE-2018-7711.yaml
web
Sources
- CVE List CVE-2018-7711
- GitHub Advisory GHSA-g888-g2pp-82hf
- NVD CVE-2018-7711
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.