{"id":"CVE-2017-12868","aliases":["DEBIAN-CVE-2017-12868","DLA-1205-1","DLA-1408-1","EUVD-2022-4319","GHSA-j96g-47x2-46hv","UBUNTU-CVE-2017-12868"],"status":"published","title":"SimpleSAMLphp Session fixation issue and authentication bypass in the authcrypt module","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.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02133,"percentile":0.82099,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-384"],"published":"2017-09-01T13:00:00Z","modified":"2026-10-24T10:47:28Z","fixes":[{"ecosystem":"Packagist","package":"simplesamlphp/simplesamlphp","fixed_in":["1.14.14"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"simplesamlphp","fixed_in":["1.14.15-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"simplesamlphp","fixed_in":["1.14.15-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"simplesamlphp/simplesamlphp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.14.12"},{"fixed":"1.14.14"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"simplesamlphp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.14.15-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"simplesamlphp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.14.15-1"}]}],"versions":["1.10.0-1","1.11.0-1","1.12.0-1","1.12.0~rc1-1","1.12.0~rc2-1","1.13.0-1","1.13.1-1","1.13.1-2","1.13.2-1","1.14.0-1","1.14.1-1","1.14.10-1","1.14.11-1","1.14.2-1","1.14.2-2","1.14.3-1","1.14.4-1","1.14.5-1","1.14.6-1","1.14.7-1","1.14.8-1","1.14.9-1","1.6.0-1","1.6.1-1","1.6.2-1","1.6.3-1","1.6.3-2","1.6.3-3","1.7.0-1","1.7.0-2","1.8.0-1","1.8.1-1","1.8.2-1","1.9.0-1","1.9.0~rc1-1","1.9.0~rc2-1","1.9.1-1","1.9.2-1"]},{"source":"osv","ecosystem":"Debian:7","package":"simplesamlphp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.2-1+deb7u1"}]}],"versions":["1.9.2-1"],"bundled":6},{"source":"osv","ecosystem":"Debian:8","package":"simplesamlphp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.1-2+deb8u2"}]}],"versions":["1.13.1-2","1.13.1-2+deb8u1"],"bundled":2},{"source":"osv","ecosystem":"Packagist","package":"simplesamlphp/simplesamlphp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.14.12"},{"fixed":"1.14.14"}]}],"versions":["v1.14.12","v1.14.13"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"simplesamlphp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.13.2-1","1.14.0-1","1.14.0-1ubuntu2","1.14.0-1ubuntu2+esm1"]}],"products":[{"vendor":"simplesamlphp","product":"simplesamlphp"}],"references":[{"url":"https://simplesamlphp.org/security/201705-01","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","fix","web","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2017/12/msg00007.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://github.com/simplesamlphp/simplesamlphp/commit/4bc629658e7b7d17c9ac3fe0da7dc5df71f1b85e","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/06/msg00017.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12868","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/CVE-2017-12868.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-j96g-47x2-46hv"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-12868","tags":["advisory"]},{"url":"https://github.com/simplesamlphp/simplesamlphp","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2017-12868","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-12868","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-12868","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.","status":"published","published":"2017-09-01T13:00:00Z","modified":"2024-08-05T18:51:06.938Z","updated_at":"2026-11-02T14:33:17.264801Z"}],"euvd":[{"id":"EUVD-2022-4319","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.","status":"published","published":"2017-09-01T13:00:00Z","modified":"2024-08-05T18:51:06Z","updated_at":"2026-11-03T02:23:20.155596Z"}],"ghsa":[{"id":"GHSA-j96g-47x2-46hv","title":"SimpleSAMLphp Session fixation issue and authentication bypass in the authcrypt module","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.","status":"published","published":"2022-05-14T03:15:07Z","modified":"2024-05-05T05:02:21Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-384"],"updated_at":"2026-11-02T14:37:48.08826Z"}],"nvd":[{"id":"CVE-2017-12868","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.","status":"published","published":"2017-09-01T13:29:00.24Z","modified":"2026-06-17T01:04:03.403Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-384"],"updated_at":"2026-11-02T14:03:58.85945Z"}],"osv":[{"id":"CVE-2017-12868","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.","status":"published","published":"2017-09-01T13:29:00.24Z","modified":"2026-10-24T10:47:28.670927113Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:04.159616Z"},{"id":"DEBIAN-CVE-2017-12868","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.","status":"published","published":"2017-09-01T13:29:00.24Z","modified":"2026-09-01T20:03:42.45537089Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:28.50097Z"},{"id":"GHSA-j96g-47x2-46hv","title":"SimpleSAMLphp Session fixation issue and authentication bypass in the authcrypt module","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.","status":"published","published":"2022-05-14T03:15:07Z","modified":"2024-04-25T21:57:34.403604Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-384"],"updated_at":"2026-11-02T15:46:50.336262Z"},{"id":"UBUNTU-CVE-2017-12868","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.","status":"published","published":"2017-09-01T13:29:00Z","modified":"2026-09-15T20:16:37.055028496Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:14.122973Z"},{"id":"DLA-1205-1","title":"simplesamlphp - security update","status":"published","published":"2017-12-12T00:00:00Z","modified":"2026-03-09T01:00:53.179433Z","updated_at":"2026-11-02T15:46:09.336894Z"},{"id":"DLA-1408-1","title":"simplesamlphp - security update","status":"published","published":"2018-06-29T00:00:00Z","modified":"2026-03-09T01:01:56.784685Z","updated_at":"2026-11-02T15:46:09.336894Z"}]}}
