CVE Catalog

CVE-2005-2148

High
Published: Translated: NVD NIST

Summary

Cacti 0.8.6e and earlier does not perform proper input validation to protect against common attacks, which allows remote attackers to execute arbitrary commands or SQL by sending a legitimate value in a POST request or cookie, then specifying the attack string in the URL, which causes the get_request_var function to return the wrong value in the $_REQUEST variable, which is cleansed while the original malicious $_GET value remains unmodified, as demonstrated in (1) graph_image.php and (2) graph.php.

Risk Assessment

An attacker can remotely execute arbitrary system commands or manipulate the database, leading to full compromise of the Cacti server and potentially the entire monitored infrastructure.

Recommendation

Immediately upgrade Cacti to a version later than 0.8.6e that includes input validation fixes. If upgrade is not possible, restrict access to the Cacti interface to trusted IP addresses only.

Related vulnerabilities

Original NVD description (English source)

Cacti 0.8.6e and earlier does not perform proper input validation to protect against common attacks, which allows remote attackers to execute arbitrary commands or SQL by sending a legitimate value in a POST request or cookie, then specifying the attack string in the URL, which causes the get_request_var function to return the wrong value in the $_REQUEST variable, which is cleansed while the original malicious $_GET value remains unmodified, as demonstrated in (1) graph_image.php and (2) graph.php.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS