{"id":"CVE-2018-7711","published":"2018-03-05T22:00:00Z","modified":"2024-08-05T06:31:05Z","title":"HTTPRedirect.php in the saml2 library in SimpleSAMLphp before 1.15.4 has an incorrect check of return values in the…","vendor":null,"product":null,"tier":"tail","description":{"text":"HTTPRedirect.php in the saml2 library in SimpleSAMLphp before 1.15.4 has an incorrect check of return values in the signature validation utilities, allowing an attacker to get invalid signatures accepted as valid by forcing an error during validation. This occurs because of a dependency on PHP functionality that interprets a -1 error code as a true boolean value.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01189,"percentile":0.6869,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/simplesamlphp/saml2/commit/4f6af7f69f29df8555a18b9bb7b646906b45924d","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/03/msg00017.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://simplesamlphp.org/security/201803-01","tags":["x_refsource_CONFIRM"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":13.74}]},"affected":[{"ecosystem":"Packagist","package":"simplesamlphp/saml2","vulnerableRanges":["<1.10.6",">=2.0, <2.3.8",">=3.0, <3.1.4"],"patched":["1.10.6","2.3.8","3.1.4"],"from":["GHSA-g888-g2pp-82hf"],"provenance":"source"}],"summary":{"text":"The flaw is in HTTPRedirect.php within the saml2 library of SimpleSAMLphp (versions before 1.15.4), where signature validation utilities mishandle return values. Because the code relies on PHP interpreting a -1 error code as a true boolean, an attacker who can force an error during validation can get invalid signatures accepted as valid.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:50Z"},"euvd":{"id":"EUVD-2022-3924","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2016-9814","published":"2017-02-16","fixed":"2.3.3","kev":false},{"cve":"CVE-2018-6519","published":"2018-02-02","fixed":"3.1.1","kev":false},{"cve":"CVE-2018-7644","published":"2018-03-05","fixed":"3.1.3","kev":false,"link":{"from":"CVE-2018-7644","to":"CVE-2018-7711","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:simplesamlphp/saml2","fromFixed":"1.10.5","toFixed":"1.10.6","daysApart":0},{"kind":"version-step","provenance":"source","package":"Packagist:simplesamlphp/saml2","fromFixed":"2.3.7","toFixed":"2.3.8","daysApart":0}]}},{"cve":"CVE-2018-7711","published":"2018-03-05","fixed":"3.1.4","kev":false},{"cve":"CVE-2024-52806","published":"2024-12-02","fixed":"4.6.14","kev":false},{"cve":"CVE-2026-49289","published":"2026-08-19","fixed":"4.20.3","kev":false},{"cve":"CVE-2023-49087","published":"2023-11-30","fixed":"5.0.0-alpha.13","kev":false}],"package":"Packagist:simplesamlphp/saml2"}}