CVE-2020-5225
published medium CVSS 3.1 · 4.4Log injection in SimpleSAMLphp
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| simplesamlphp | — | SimpleSAMLphp< 1.18.4 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| simplesamlphp | SimpleSAMLphp | < 1.18.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-532 CWE-532: Inclusion of Sensitive Information in Log Files
References
2Provider assertions
2GitHub_M · cna
Log injection in SimpleSAMLphp
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- bb1f636650d46855d10e5ba9733f9b17a5ee342cc2c09eb62f3b8e1470196ae4
- Ingested
- 23 Sep 2026, 07:51:02 UTC
- Source record
- Official CVE record