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: 6.4 [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]
CVE-ID: CVE-2017-16660
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Cacti
Fedora
cacti

How to mitigate CVE-2017-16660

Update to version 1.1.28.

cacti - addressed in versions 1.1.28-1.el7, 1.1.28-1.fc25, 1.1.28-1.fc26, 1.1.28-1.fc27

External References

Related Security Bulletins