CRITICAL9.8
GHSA-j96g-47x2-46hv
SimpleSAMLphp Session fixation issue and authentication bypass in the authcrypt module
Quick fix
GHSA-j96g-47x2-46hv — simplesamlphp/simplesamlphp: upgrade to the fixed version with the command below.
composer require simplesamlphp/simplesamlphp:^1.14.14Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/simplesamlphp/simplesamlphp
Introduced in:
1.14.12Fixed in: 1.14.14Fix
composer require simplesamlphp/simplesamlphp:^1.14.14References
- https://nvd.nist.gov/vuln/detail/CVE-2017-12868[ADVISORY]
- https://github.com/simplesamlphp/simplesamlphp/commit/4bc629658e7b7d17c9ac3fe0da7dc5df71f1b85e[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2017-12868.yaml[WEB]
- https://github.com/simplesamlphp/simplesamlphp[PACKAGE]
- 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[WEB]