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) | bullseye | 1.19.0-1 | fixed |
| bullseye (security) | 1.19.0-1+deb11u1 | fixed |
| bookworm (security) | 1.19.7-1+deb12u1 | 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