Secunia Security Advisory - rgod has discovered three vulnerabilities in Cacti, which can be exploited by malicious people to bypass certain security restrictions, manipulate data and compromise vulnerable systems.
cb51aeea8abaf6070b6543b34052d31774172c46a30ee8212d0a28f84e04670f
----------------------------------------------------------------------
Secunia is proud to announce the availability of the Secunia Software
Inspector.
The Secunia Software Inspector is a free service that detects insecure
versions of software that you may have installed in your system. When
insecure versions are detected, the Secunia Software Inspector also
provides thorough guidelines for updating the software to the latest
secure version from the vendor.
Try it out online:
http://secunia.com/software_inspector/
----------------------------------------------------------------------
TITLE:
Cacti "cmd.php" Command Execution and SQL Injection
SECUNIA ADVISORY ID:
SA23528
VERIFY ADVISORY:
http://secunia.com/advisories/23528/
CRITICAL:
Highly critical
IMPACT:
Security Bypass, Manipulation of data, System access
WHERE:
>From remote
SOFTWARE:
Cacti 0.x
http://secunia.com/product/3793/
DESCRIPTION:
rgod has discovered three vulnerabilities in Cacti, which can be
exploited by malicious people to bypass certain security
restrictions, manipulate data and compromise vulnerable systems.
1) The cmd.php script does not properly restrict access to command
line usage and is installed in a web-accessible location.
Successful exploitation requires that "register_argc_argv" is
enabled.
2) Input passed in the URL to cmd.php is not properly sanitised
before being used in SQL queries. This can be exploited to manipulate
SQL queries by injecting arbitrary SQL code.
Successful exploitation requires that "register_argc_argv" is
enabled.
3) The results from the SQL queries in 2) in cmd.php are not properly
sanitised before being used as shell commands. This can be exploited
to inject arbitrary shell commands.
The vulnerabilities are confirmed in version 0.8.6i. Other versions
may also be affected.
SOLUTION:
Move the "cmd.php" script to a not web-accessible path, and update
other scripts accordingly.
Edit the source code to ensure that input is properly sanitised.
PROVIDED AND/OR DISCOVERED BY:
rgod
----------------------------------------------------------------------
About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.
Subscribe:
http://secunia.com/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/
Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.
----------------------------------------------------------------------