vulnerability
Ubuntu: (CVE-2020-5225): simplesamlphp vulnerability
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 6 | (AV:N/AC:L/Au:S/C:P/I:P/A:N) | Jan 24, 2020 | Jun 26, 2025 | Mar 27, 2026 |
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.
Solution
References
- CVE-2020-5225
- https://attackerkb.com/topics/CVE-2020-5225
- CWE-532
- EUVD-EUVD-2020-0249
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2020-0249
- https://github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-6gc6-m364-85ww
- https://simplesamlphp.org/security/202001-02
- https://www.cve.org/CVERecord?id=CVE-2020-5225
2026 Global Threat Landscape Report
The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.