{"id":"CVE-2017-12870","published":"2017-09-01T13:00:00Z","modified":"2024-08-05T18:51:06Z","title":"SimpleSAMLphp 1.14.12 and earlier make it easier for man-in-the-middle attackers to obtain sensitive information by…","vendor":null,"product":null,"tier":"tail","description":{"text":"SimpleSAMLphp 1.14.12 and earlier make it easier for man-in-the-middle attackers to obtain sensitive information by leveraging use of the aesEncrypt and aesDecrypt methods in the SimpleSAML/Utils/Crypto class to protect session identifiers in replies to non-HTTPS service providers.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00875,"percentile":0.59851,"provenance":"source"},"cwes":[],"references":[{"url":"https://simplesamlphp.org/security/201704-01","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":11.97}]},"affected":[{"ecosystem":"Packagist","package":"simplesamlphp/simplesamlphp","vulnerableRanges":["<1.14.13"],"patched":["1.14.13"],"from":["GHSA-44pr-mgcp-v36r"],"provenance":"source"}],"summary":{"text":"The flaw lies in SimpleSAMLphp, specifically in the SimpleSAML/Utils/Crypto class, where the aesEncrypt and aesDecrypt methods are used to protect session identifiers in replies to service providers. An attacker positioned as a man-in-the-middle can obtain sensitive information from these replies when the service provider does not use HTTPS, since the weak protection makes interception easier.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:03:51Z"},"euvd":{"id":"EUVD-2022-2297","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-simplesamlphp-simplesamlphp-cve-2017-12870","parents":[{"from":"CVE-2017-12871","to":"CVE-2017-12870","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:simplesamlphp/simplesamlphp","fromFixed":"1.14.12","toFixed":"1.14.13","daysApart":0},{"kind":"same-code","provenance":"machine","files":["lib/SimpleSAML/Utils/Crypto.php"],"commits":["https://github.com/simplesamlphp/simplesamlphp/commit/4c939be1696bacb2b95ee11d4ebc5814a08b04c5","https://github.com/simplesamlphp/simplesamlphp/commit/77df6a932d46daa35e364925eb73a175010dc904","https://github.com/simplesamlphp/simplesamlphp/commit/ccf75981187aa88f7165abdb1b1965c0934acda0"],"basis":"shared function","functions":["_aesEncrypt"]},{"kind":"similar","provenance":"machine","score":0.49,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2016-9955","published":"2017-02-16","fixed":"1.14.11","kev":false},{"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},{"cve":"CVE-2017-12868","published":"2017-09-01","fixed":"1.14.14","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-12869","published":"2017-09-01","fixed":"1.14.14","kev":false,"link":{"from":"CVE-2017-12870","to":"CVE-2017-12869","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:simplesamlphp/simplesamlphp","fromFixed":"1.14.13","toFixed":"1.14.14","daysApart":0}]}},{"cve":"CVE-2017-12867","published":"2017-08-29","fixed":"1.14.15","kev":false}],"package":"Packagist:simplesamlphp/simplesamlphp"}}