Improper Output Neutralization for Logs in SimpleSAMLphp - CVE-2020-5225

 

Improper Output Neutralization for Logs in SimpleSAMLphp - CVE-2020-5225

Published: January 31, 2020


Vulnerability identifier: #VU24804
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-5225
CWE-ID: CWE-117
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to inject new log lines with arbitrary content.

The vulnerability exists due to the "www/erroreport.php" script, which receives error reports and sends them via email to the system administrator, does not properly sanitize the report identifier obtained from the request. A remote attacker can manually craft this report ID and inject logs messages into a SimpleSAMLphp log file, trying to trick or confuse system administrators.


Affected software

SimpleSAMLphp

How to mitigate CVE-2020-5225

Install updates from vendor's website.

SimpleSAMLphp - update to 1.18.4

External References

Related Security Bulletins