Remote code execution in Cacti - CVE-2017-16660

 

Remote code execution in Cacti - CVE-2017-16660

Published: December 7, 2017


Vulnerability identifier: #VU9570
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:U/U:Amber
CVE-ID: CVE-2017-16660
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: The Cacti Group, Inc.
Affected software:
Cacti

Detailed vulnerability description

The vulnerability allows a remote high-privileged attacker to execute arbitrary code on the target system.

The vulnerability exists due to an error in the Client-ip header in remote_agent.php. A remote attacker can place the Log Path under the web root, make a specially crafted remote_agent.php request containing PHP code in a Client-ip header and execute arbitrary code with elevated privileges.


How to mitigate CVE-2017-16660

Update to version 1.1.28.

Sources