CVE-2020-5225
MEDIUMDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
Exploit Intelligence
Moderate risk: more likely to be exploited than 47% of all known CVEs.
References
Related Vulnerabilities
Other CWE-532 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2019-1622 | Medium | 5.3 | 79% | - | - |
| CVE-2020-35234 | High | 7.5 | 63% | - | Fix |
| CVE-2023-43261 | High | 7.5 | 60% | - | Fix |
| CVE-2024-20440 | High | 7.5 | 51% | - | - |
| CVE-2018-3609 | High | 8.1 | 22% | - | - |
| CVE-2018-8719 | Medium | 5.3 | 16% | - | - |
Embed a live status badge for CVE-2020-5225
Markdown
[](https://tridentstack.com/cve/CVE-2020-5225)HTML
<a href="https://tridentstack.com/cve/CVE-2020-5225"><img src="https://tridentstack.com/cve/badge/CVE-2020-5225.svg" alt="CVE-2020-5225"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.