{"schemaVersion":3,"id":"CVE-2018-7711","aliases":["UBUNTU-CVE-2018-7711","DEBIAN-CVE-2018-7711","DLA-1314-1"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2018-03-05T22:00:00.000Z","modified":"2024-08-05T06:31:05.158Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.01189,"percentile":0.67692,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.01189},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01179,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01179,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01179,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01179,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01144,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01189,"percentile":0.67692}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01189,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.01189,"percentile":0.67692}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature","description":"The product does not verify, or incorrectly verifies, the cryptographic signature for data.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/347.html"}],"affected":[{"vendor":"debian","product":"simplesamlphp","name":"simplesamlphp","label":"simplesamlphp","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/simplesamlphp","purlType":"deb","versions":[{"text":"< 1.9.2-1+deb7u4","noFixRecorded":false,"fixedIn":null},{"text":"< 1.15.4-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.2-1+deb7u4 | < 1.15.4-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"simplesamlphp","name":"simplesamlphp","label":"simplesamlphp","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/simplesamlphp","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":{"isEol":true,"eolDate":"2018-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"7","label":"7 (Wheezy)","eolFrom":"2018-05-31T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"7.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"simplesamlphp","product":"saml2","name":"saml2","label":"saml2","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.0.0, < 1.10.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.3.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.1.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.0.0, < 1.10.6 | ≥ 2.0.0, < 2.3.8 | ≥ 3.0.0, < 3.1.4","eol":null,"hubHref":"/vendor/simplesamlphp/saml2"},{"vendor":"simplesamlphp","product":"simplesamlphp","name":"simplesamlphp","label":"simplesamlphp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.15.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.15.4","eol":null,"hubHref":"/vendor/simplesamlphp/simplesamlphp"}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/simplesamlphp/saml2/commit/4f6af7f69f29df8555a18b9bb7b646906b45924d","label":"github.com/simplesamlphp/saml2/commit/4f6af7f69f29df8555a18b9bb7b646906b45924d","hostname":"github.com","tags":["X Refsource CONFIRM","Patch","REPORT"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/03/msg00017.html","label":"lists.debian.org/debian-lts-announce/2018/03/msg00017.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://simplesamlphp.org/security/201803-01","label":"simplesamlphp.org/security/201803-01","hostname":"simplesamlphp.org","tags":["X Refsource CONFIRM","Vendor Advisory","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2018-7711","label":"ubuntu.com/security/CVE-2018-7711","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-7711","label":"www.cve.org/CVERecord?id=CVE-2018-7711","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-7711","label":"security-tracker.debian.org/tracker/CVE-2018-7711","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-03-05T22:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T06:31:05.158Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T19:31:59.998Z","stale":false,"partial":false}}