CVE-2020-5225
CVE-2020-5225 · Log injection in SimpleSAMLphp
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 4.4 · Medium · EPSS 0.7% · Fix available
- Published
- Updated
Affected products and versions
simplesamlphp
- Versions
- < 1.18.4: Affected
No fix published
simplesamlphp Debian:12
- Affected ranges
- ECOSYSTEM: < 1.18.4-1
Update to 1.18.4-1
simplesamlphp Debian:14
- Versions
- 1.10.0-1
- 1.11.0-1
- 1.12.0-1
- 1.12.0~rc1-1
- 1.12.0~rc2-1
- 1.13.0-1
- 1.13.1-1
- 1.13.1-2
- 1.13.2-1
- 1.14.0-1
- 1.14.1-1
- 1.14.10-1
- 1.14.11-1
- 1.14.15-1
- 1.14.2-1
- 1.14.2-2
- 1.14.3-1
- 1.14.4-1
- 1.14.5-1
- 1.14.6-1
- 1.14.7-1
- 1.14.8-1
- 1.14.9-1
- 1.15.0-1
- 1.15.1-1
- 1.15.2-1
- 1.15.3-1
- 1.15.4-1
- 1.16.0-1
- 1.16.1-1
- 1.16.2-1
- 1.16.3-1
- 1.17.0-1
- 1.17.1-1
- 1.17.2-1
- 1.17.2-2
- 1.17.3-1
- 1.17.4-1
- 1.17.5-1
- 1.17.6-1
- 1.17.6-2
- 1.18.1-1
- 1.6.0-1
- 1.6.1-1
- 1.6.2-1
- 1.6.3-1
- 1.6.3-2
- 1.6.3-3
- 1.7.0-1
- 1.7.0-2
- 1.8.0-1
- 1.8.1-1
- 1.8.2-1
- 1.9.0-1
- 1.9.0~rc1-1
- 1.9.0~rc2-1
- 1.9.1-1
- 1.9.2-1
- Affected ranges
- ECOSYSTEM: < 1.18.4-1
Update to 1.18.4-1
simplesamlphp/simplesamlphp Packagist
- Versions
- 1.16.0
- 1.16.0-rc1
- 1.16.1
- 1.16.2
- 1.16.3
- v1.12.0
- v1.13.0
- v1.13.0-rc1
- v1.13.0-rc2
- v1.13.1
- v1.13.2
- v1.14.0
- v1.14.0-rc1
- v1.14.1
- v1.14.10
- v1.14.11
- v1.14.12
- v1.14.13
- v1.14.14
- v1.14.15
- v1.14.16
- v1.14.17
- v1.14.2
- v1.14.3
- v1.14.4
- v1.14.5
- v1.14.6
- v1.14.7
- v1.14.8
- v1.14.9
- v1.15.0
- v1.15.0-rc1
- v1.15.0-rc2
- v1.15.0-rc3
- v1.15.1
- v1.15.2
- v1.15.3
- v1.15.4
- v1.17.0
- v1.17.0-rc1
- v1.17.0-rc2
- v1.17.0-rc3
- v1.17.1
- v1.17.2
- v1.17.3
- v1.17.4
- v1.17.5
- v1.17.6
- v1.17.7
- v1.17.8
- v1.18.0
- v1.18.0-rc1
- v1.18.0-rc2
- v1.18.1
- v1.18.2
- v1.18.3
- Affected ranges
- ECOSYSTEM: < 1.18.4
Update to 1.18.4
simplesamlphp Ubuntu:Pro:16.04:LTS
- Versions
- 1.13.2-1
- 1.14.0-1
- 1.14.0-1ubuntu2
- 1.14.0-1ubuntu2+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
simplesamlphp Ubuntu:Pro:18.04:LTS
- Versions
- 1.14.15-1
- 1.15.0-1
- 1.15.1-1
- 1.15.2-1
- 1.15.3-1
- 1.15.3-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published