First published: Fri Jan 24 2020(Updated: )
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.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
SimpleSAMLphp | <1.18.4 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of CVE-2020-5225 is medium with a CVSS score of 5.4.
CVE-2020-5225 affects SimpleSAMLphp versions up to 1.18.4.
Log injection is a vulnerability where an attacker can inject malicious data into log files to manipulate or disrupt the logging process.
The impact of CVE-2020-5225 allows an attacker, under specific circumstances, to inject arbitrary log entries and potentially escalate their privileges.
To fix CVE-2020-5225, update SimpleSAMLphp to version 1.18.4 or later.