CVE-2017-12868
The secureCompare method in lib/SimpleSAML/Utils/Crypto.php in SimpleS ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| composer::GitHub Security Advisory Composer | simplesamlphp/simplesamlphp | 1.14.14 |
| composer::PHP Security Advisories Database | simplesamlphp/simplesamlphp | no fix listed |
| debian 11 | simplesamlphp | 1.14.15-1 |
| debian 12 | simplesamlphp | 1.14.15-1 |
| debian 14 | simplesamlphp | 1.14.15-1 |
| debian 7 | simplesamlphp | 1.9.2-1+deb7u1 |
| debian 8 | simplesamlphp | 1.13.1-2+deb8u2 |
| echo | simplesamlphp | 1.14.15-1 |
References
- https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2017-12868.yaml
- https://github.com/simplesamlphp/simplesamlphp
- https://github.com/simplesamlphp/simplesamlphp/commit/4bc629658e7b7d17c9ac3fe0da7dc5df71f1b85e
- https://lists.debian.org/debian-lts-announce/2017/12/msg00007.html
- https://lists.debian.org/debian-lts-announce/2018/06/msg00017.html
- https://nvd.nist.gov/vuln/detail/CVE-2017-12868
- https://simplesamlphp.org/security/201705-01