simplesamlphp/simplesamlphp · Security
SimpleSAMLphp Session fixation issue and authentication bypass in the authcrypt module
- GHSA ID
- GHSA-j96g-47x2-46hv
- CVE ID
- CVE-2017-12868
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
CWEs
- CWE-384 · Session Fixation
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-12868 ↗
- 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://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2017-12868.yaml ↗
- https://github.com/advisories/GHSA-j96g-47x2-46hv ↗