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


Vulnerability identifier: #VU24804

Vulnerability risk: Medium

CVSSv4.0: 2.7 [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/E:U/U:Green]

CVE-ID: CVE-2020-5225

CWE-ID: CWE-117

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
SimpleSAMLphp
Web applications / Other software

Vendor: SimpleSAMLphp

Description

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

SimpleSAMLphp: 1.18.0 - 1.18.3


External links
https://github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-6gc6-m364-85ww
https://simplesamlphp.org/security/202001-02


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability