CVE-2017-12868
critical
CVSS v3
9.8
CVSS v2
7.5
VIR risk
9.8
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.
Predictions
Exploit likelihood
97%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-12868
Vendor advisory: cve@mitre.org — https://simplesamlphp.org/security/201705-01
Vendor advisory: cve@mitre.org — https://github.com/simplesamlphp/simplesamlphp/commit/4bc629658e7b7d17c9ac3fe0da7dc5df71f1b85e
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 1.14.15-1 |
| debian | bullseye | fixed | 1.14.15-1 |
| debian | sid | fixed | 1.14.15-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Packagist | simplesamlphp/simplesamlphp | >=1.14.12,<1.14.14 | 1.14.14 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| simplesamlphp | simplesamlphp | {"endIncluding":"1.14.13"} | |
| php | php | {"endIncluding":"5.5.38"} | |
References
- 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://simplesamlphp.org/security/201705-01
- https://nvd.nist.gov/vuln/detail/CVE-2017-12868
- https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2017-12868.yaml
- https://github.com/simplesamlphp/simplesamlphp
- https://security-tracker.debian.org/tracker/CVE-2017-12868
CWEs
CWE-384
Verify integrity in audit chain (admin only). AS-IS.