Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> CGI abuses >> Cacti cmd.php Arbitrary Command Execution Vulnerability


Vulnerability Assessment Details

Cacti cmd.php Arbitrary Command Execution Vulnerability

Vulnerability Assessment Summary
Checks if Cacti's cmd.php is remotely accessible

Detailed Explanation for this Vulnerability Assessment

Summary :

The remote web server contains a PHP script that permits arbitrary
command execution.

Description :

The remote host is running Cacti, a web-based frontend to RRDTool for
network graphing.

The version of Cacti on the remote host does not properly check
whether ensure the 'cmd.php' script is being run from a commandline
and fails to sanitize user-supplied input before using it in database
queries. Provided PHP's 'register_argc_argv' parameter is enabled,
which is the default, a possible hacker can launch SQL injection attacks
against the underlying database and even to execute arbitrary code on
the remote host subject to the rights of the web server user id.

See also :

http://milw0rm.com/exploits/3029
http://forums.cacti.net/about18846.html
http://bugs.cacti.net/view.php?id=883
http://www.cacti.net/release_notes_0_8_6j.php

Solution :

Upgrade to Cacti version 0.8.6j or later.

Network Security Threat Level:

High / CVSS Base Score : 7
(AV:R/AC:L/Au:NR/C:P/I:P/A:P/B:N)

Networks Security ID: 21799

Vulnerability Assessment Copyright: This script is Copyright (C) 2007 Tenable Network Security

Cables, Connectors

Extreme Networks Summit 200-24 24-Port Ethernet Switch 13240
$49.0
Extreme Networks Summit 200-24 24-Port Ethernet Switch 13240  pictureNEW SEALED C2901-AX/K9 w/ APP Cisco 2901 AX Bundle Router
$1399.61
NEW SEALED C2901-AX/K9 w/ APP Cisco 2901 AX Bundle Router  pictureNew Sealed C2901-AX/K9 Cisco 2901 AX Bundle Router w/ APP Cisco2901
$1325.99
New Sealed C2901-AX/K9 Cisco 2901 AX Bundle Router w/ APP Cisco2901 pictureHP 2530-48G Managed Switch - (48) Gigabit Ports - (4) Gibabit SFP Ports - J9775A
$522.42
HP 2530-48G Managed Switch - (48) Gigabit Ports - (4) Gibabit SFP Ports - J9775A picture


Discussions

No Discussions have been posted on this vulnerability.