Name | CVE-2017-12868 |
Description | The secureCompare method in lib/SimpleSAML/Utils/Crypto.php in SimpleSAMLphp 1.14.13 and earlier, when used with PHP before 5.6, allows attackers to conduct session fixation attacks or possibly bypass authentication by leveraging missing character conversions before an XOR operation. |
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-1205-1, DLA-1408-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 | fixed |
| stretch (security), stretch (lts), stretch | 1.14.11-1+deb9u2 | fixed |
| 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 <not-affected> (Only affects setups with old PHP versions not found in stable)
https://simplesamlphp.org/security/201705-01
Patch: https://github.com/simplesamlphp/simplesamlphp/commit/caf764cc2c9b68ac29741070ebdf133a595443f1