#VU24804 Improper Output Neutralization for Logs in SimpleSAMLphp


Published: 2020-01-31

Vulnerability identifier: #VU24804

Vulnerability risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C]

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
http://github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-6gc6-m364-85ww
http://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