Name | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1314-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
simplesamlphp (PTS) | jessie, jessie (lts) | 1.13.1-2+deb8u3 | vulnerable |
| stretch (security), stretch (lts), stretch | 1.14.11-1+deb9u2 | vulnerable |
| buster | 1.16.3-1+deb10u2 | fixed |
| buster (security), buster (lts) | 1.16.3-1+deb10u1 | fixed |
| bullseye | 1.19.0-1 | fixed |
| sid, trixie, bookworm | 1.19.7-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[stretch] - simplesamlphp <no-dsa> (Minor issue)
[jessie] - simplesamlphp <no-dsa> (Minor issue)
failure mode hard to trigger for an attacker, signing of redirect binding in many cases not that important
https://simplesamlphp.org/security/201803-01
https://github.com/simplesamlphp/saml2/commit/4f6af7f69f29df8555a18b9bb7b646906b45924d