{"id":"CVE-2018-7711","details":"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.","aliases":["GHSA-g888-g2pp-82hf"],"modified":"2026-10-24T10:48:43.447293438Z","published":"2018-03-05T22:29:00.323Z","database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:a:simplesamlphp:saml2:*:*:*:*:*:*:*:*"],"extracted_events":[{"source":"CPE_RANGE","range":[{"introduced":"1.0.0"},{"fixed":"1.10.6"},{"introduced":"1.0.0"},{"fixed":"1.10.6"},{"introduced":"2.0.0"},{"fixed":"2.3.8"},{"introduced":"2.0.0"},{"fixed":"2.3.8"},{"introduced":"3.0.0"},{"fixed":"3.1.4"},{"introduced":"3.0.0"},{"fixed":"3.1.4"}]}],"vendor_product":"simplesamlphp:saml2"},{"cpes":["cpe:2.3:a:simplesamlphp:simplesamlphp:*:*:*:*:*:*:*:*"],"extracted_events":[{"range":[{"fixed":"1.15.4"}],"source":"CPE_RANGE"}],"vendor_product":"simplesamlphp:simplesamlphp"},{"extracted_events":[{"range":[{"introduced":"7.0"},{"last_affected":"7.0"}],"source":"CPE_STRING"}],"vendor_product":"debian:debian_linux","cpes":["cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*"]}]},"references":[{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2018/03/msg00017.html"},{"type":"ADVISORY","url":"https://simplesamlphp.org/security/201803-01"},{"type":"FIX","url":"https://github.com/simplesamlphp/saml2/commit/4f6af7f69f29df8555a18b9bb7b646906b45924d"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/simplesamlphp/saml2","events":[{"introduced":"a8d493c6eef80b623f3dd77ef04c7cb71468f951"},{"fixed":"93fef13dea9c46dc238eb59e414d3ae76559d8c4"},{"introduced":"80bc9628c03e3c0d2774488cf2f3dc3b9c2ddf5b"},{"fixed":"5d69753a61b4bfb95eed3ea0c3f8cbb4e6e0ad2f"},{"introduced":"cea679a3113d1f8198ab7d0a734de740412d0d0d"},{"fixed":"4f6af7f69f29df8555a18b9bb7b646906b45924d"}],"database_specific":{"extracted_events":[{"cpe":"cpe:2.3:a:simplesamlphp:saml2:*:*:*:*:*:*:*:*","range":[{"introduced":"1.0.0"},{"fixed":"1.10.6"}],"source":"CPE_RANGE"},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:simplesamlphp:saml2:*:*:*:*:*:*:*:*","range":[{"introduced":"2.0.0"},{"fixed":"2.3.8"}]},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:simplesamlphp:saml2:*:*:*:*:*:*:*:*","range":[{"introduced":"3.0.0"},{"fixed":"3.1.4"}]},{"range":[{"fixed":"4f6af7f69f29df8555a18b9bb7b646906b45924d"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v1.10.5","v3.1.3","v2.3.7","v2.3.6","v3.1.2","v3.1.1","v2.3.5","v1.10.4","v3.1.0","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v2.3.4","v2.3.3","v1.10.3","v1.8","v1.9","v1.10.2","v2.3.2","v2.3.1","v1.10.1","v1.10","v2.3","v2.2","v2.1","v1.7.2","v2.0.1","v2.0.0","v1.7.1","v0.8.1","v1.7.0","v0.8.0","v1.6.1","v0.7.1","v1.6.0","v0.7.0","v1.5.4","v0.6.4","v1.5.3","v0.6.3","1.5.3","v1.5.2","v0.6.2","v1.5.1","v0.6.1","v1.5.0","v0.6.0","v1.4.0","v0.5.0","v1.3.2","v0.4.2","v1.3.1","v0.4.1","v1.3.0","v0.4.0","v1.2.0","v0.3.0","v1.1.0","v1.0.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7711.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/simplesamlphp/simplesamlphp","events":[{"introduced":"0"},{"fixed":"c770d0cd392ba8d8b12ac6214dcabd818d7cca32"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:simplesamlphp:simplesamlphp:*:*:*:*:*:*:*:*","range":[{"introduced":"0"},{"fixed":"1.15.4"}]}]}}],"versions":["v1.15.3","v1.15.2","v1.15.1","v1.15.0","v1.15.0-rc3","v1.15.0-rc2","v1.15.0-rc1","v1.12.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7711.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}