{"schemaVersion":3,"id":"CVE-2020-5225","aliases":["UBUNTU-CVE-2020-5225","DEBIAN-CVE-2020-5225"],"status":"published","duplicateOf":null,"title":"Log injection in SimpleSAMLphp","description":"Log injection in SimpleSAMLphp before version 1.18.4. The www/erroreport.php script, which receives error reports and sends them via email to the system administrator, did not properly sanitize the report identifier obtained from the request. This allows an attacker, under specific circumstances, to inject new log lines by manually crafting this report ID. When configured to use the file logging handler, SimpleSAMLphp will output all its logs by appending each log line to a given file. Since the reportID parameter received in a request sent to www/errorreport.php was not properly sanitized, it was possible to inject newline characters into it, effectively allowing a malicious user to inject new log lines with arbitrary content.","dates":{"published":"2020-01-24T20:55:14.000Z","modified":"2024-08-04T08:22:08.946Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":7.2,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":7.2,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00659,"percentile":0.50908,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.00659},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00653,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00659,"percentile":0.50908}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00659,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00659,"percentile":0.50908}]},"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-532","name":"Insertion of Sensitive Information into Log File","description":"The product writes sensitive information to a log file.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/532.html"}],"affected":[{"vendor":"debian","product":"simplesamlphp","name":"simplesamlphp","label":"simplesamlphp","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/simplesamlphp","purlType":"deb","versions":[{"text":"< 1.18.4-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.18.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":"simplesamlphp","product":"simplesamlphp","name":"simplesamlphp","label":"simplesamlphp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.18.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.18.4","eol":null,"hubHref":"/vendor/simplesamlphp/simplesamlphp"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-6gc6-m364-85ww","label":"github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-6gc6-m364-85ww","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Third Party Advisory"]},{"url":"https://simplesamlphp.org/security/202001-02","label":"simplesamlphp.org/security/202001-02","hostname":"simplesamlphp.org","tags":["X Refsource MISC","REPORT","Vendor Advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-5225","label":"ubuntu.com/security/CVE-2020-5225","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-5225","label":"www.cve.org/CVERecord?id=CVE-2020-5225","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-5225","label":"security-tracker.debian.org/tracker/CVE-2020-5225","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-01-24T20:55:14.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T08:22:08.946Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T20:12:53.776Z","stale":false,"partial":false}}