{"id":"CVE-2017-12868","published":"2017-09-01T13:00:00Z","modified":"2024-08-05T18:51:06Z","title":"The secureCompare method in lib/SimpleSAML/Utils/Crypto.php in SimpleSAMLphp 1.14.13 and earlier, when used with PHP…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02133,"percentile":0.82435,"provenance":"source"},"cwes":[],"references":[{"url":"https://simplesamlphp.org/security/201705-01","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2017/12/msg00007.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://github.com/simplesamlphp/simplesamlphp/commit/4bc629658e7b7d17c9ac3fe0da7dc5df71f1b85e","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/06/msg00017.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":16.49}]},"affected":[{"ecosystem":"Packagist","package":"simplesamlphp/simplesamlphp","vulnerableRanges":[">=1.14.12, <1.14.14"],"patched":["1.14.14"],"from":["GHSA-j96g-47x2-46hv"],"provenance":"source"}],"summary":{"text":"The secureCompare method in lib/SimpleSAML/Utils/Crypto.php in SimpleSAMLphp 1.14.13 and earlier, when used with PHP before 5.6, contains a flaw caused by missing character conversions before an XOR operation. An attacker can conduct session fixation attacks or possibly bypass authentication by exploiting this flaw, provided the affected PHP version is in use.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:51Z"},"euvd":{"id":"EUVD-2022-4319","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-12873","published":"2017-09-01","fixed":"1.14.11","kev":false},{"cve":"CVE-2017-12871","published":"2017-09-01","fixed":"1.14.12","kev":false},{"cve":"CVE-2017-12870","published":"2017-09-01","fixed":"1.14.13","kev":false,"link":{"from":"CVE-2017-12870","to":"CVE-2017-12868","relation":"successor","confidence":"high","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:simplesamlphp/simplesamlphp","fromFixed":"1.14.13","toFixed":"1.14.14","daysApart":0},{"kind":"same-code","provenance":"machine","files":["lib/SimpleSAML/Utils/Crypto.php"],"commits":["https://github.com/simplesamlphp/simplesamlphp/commit/4bc629658e7b7d17c9ac3fe0da7dc5df71f1b85e","https://github.com/simplesamlphp/simplesamlphp/commit/4c939be1696bacb2b95ee11d4ebc5814a08b04c5"],"basis":"shared file"}]}},{"cve":"CVE-2017-12868","published":"2017-09-01","fixed":"1.14.14","kev":false},{"cve":"CVE-2017-12869","published":"2017-09-01","fixed":"1.14.14","kev":false},{"cve":"CVE-2017-12867","published":"2017-08-29","fixed":"1.14.15","kev":false},{"cve":"CVE-2017-18121","published":"2018-02-02","fixed":"1.14.16","kev":false}],"package":"Packagist:simplesamlphp/simplesamlphp"}}