CVE-2020-5225
Log injection in SimpleSAMLphp
Reported by github_m · Published January 24, 2020
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| simplesamlphp | SimpleSAMLphp | < 1.18.4 |
| simplesamlphp | simplesamlphp | 1.18.0 |
| simplesamlphp | SimpleSAMLphp | 0 |
Timeline
- Jan 24, 2020 CVE Published
- Jan 31, 2020 CVE Updated
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Apr 10, 2026 Security Advisory
- Aug 30, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-5225
vulnetix vdb fixes CVE-2020-5225
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-5225/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2020-5225 advisory