Information disclosurein SimpleSAMLphp.
No public exploit found; not on exploited lists.
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.
- Upgrade SimpleSAMLphp to 1.18.4 or later.
- Upgrade simplesamlphp/simplesamlphp (Packagist) to 1.18.4 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 2 Jan 2020CVE ID reserved by GitHub_M.
- 24 Jan 2020Published in the CVE List.
- 4 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other SimpleSAMLphp vulnerabilities
Same weakness: Sensitive information in log files
- github.com x_refsource_CONFIRM
- simplesamlphp.org x_refsource_MISC
Patchminder. CVE-2020-5225: Information disclosure in SimpleSAMLphp. https://patchminder.com/cve/cve-2020-5225/ (accessed 5 December 2026).