CVE-2017-12868
CRITICAL 9.8CVSS 3.0SimpleSAMLphp Session fixation issue and authentication bypass in the authcrypt module
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.
- Published
- 1 Sep 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-384
- Also known as
- GHSA-j96g-47x2-46hv
- Sources
- NVDJSONOSV GHSA-j96g-47x2-46hvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | simplesamlphp | simplesamlphpcpe:2.3:a:simplesamlphp:simplesamlphp:*:*:*:*:*:*:*:* |
<= 1.14.13 | |
| OSV | Packagist | simplesamlphp/simplesamlphp | >= 1.14.12, < 1.14.14 | 1.14.14 |
References
- https://github.com/simplesamlphp/simplesamlphp/commit/4bc629658e7b7d17c9ac3fe0da7dc5df71f1b85e · Issue Tracking, Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2017/12/msg00007.html · WEB
- https://lists.debian.org/debian-lts-announce/2018/06/msg00017.html · WEB
- https://simplesamlphp.org/security/201705-01 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-12868 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2017-12868.yaml · WEB
- https://github.com/simplesamlphp/simplesamlphp · PACKAGE
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 1 Sep 2017)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 14 May 2022)