|
 |
|
Cacti Command Execution and SQL Injection Vulnerabilities
|
|
|
|
|
Secunia Advisory:
|
SA23528
|
|
|
Release Date:
|
2006-12-28
|
|
Last Update:
|
2007-01-18
|
|
|
Critical:
|

Highly critical
|
|
Impact:
|
Security Bypass Manipulation of data System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | Cacti 0.x
|
| | CVE reference: | CVE-2006-6799 (Secunia mirror)
|
|
|
Want to know the next time vulnerabilities are fixed in this product? - Companies can be alerted via email and SMS! |
|
|
Description: rgod has discovered four 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" and "copy_cacti_user.php" scripts do not properly restrict access to command line usage and are 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.
4) Input passed in the URL to copy_cacti_user.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 allows adding new administrator users, but requires that "register_argc_argv" is enabled.
Furthermore, it has been reported that other scripts may be exploitable under certain conditions. It has also been reported that script_server.php can be exploited to cause a DoS (denial of service).
The vulnerabilities are confirmed in version 0.8.6i. Other versions may also be affected.
Solution: Update to version 0.8.6j.
Apply the vendor's official patches "Multiple Vulnerabilities - Poller" and "Multiple Vulnerabilities - Default Scripts" to 0.8.6i:
http://www.cacti.net/download_patches.php?version=0.8.6i
Provided and/or discovered by: rgod
Changelog: 2007-01-02: Added CVE reference.
2007-01-02: Added vulnerability #4. Updated "Solution" section and vulnerability #1.
2007-01-10: Updated "Solution" section.
2007-01-18: Updated "Solution" section.
|
|
|
|
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|
|
|
|
7 Related Secunia Security Advisories
|
|
|
1. Cacti Multiple Vulnerabilities
|
|
2. Cacti Unspecified SQL Injection Vulnerability
|
|
3. Cacti "graph_image.php" Denial of Service
|
|
4. Cacti ADOdb "server.php" Insecure Test Script Security Issue
|
|
5. Cacti "no_http_headers" Security Bypass and Shell Command Injection
|
|
6. Cacti Multiple Vulnerabilities
|
|
7. Cacti SQL Injection and Path Disclosure Vulnerability
|
|
|
Send Feedback to Secunia
|
|
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.
Ideas, suggestions, and other feedback are most welcome.
|
|
|
|

|
 |
Secunia PSI Scan | Patch | Track Free Download
|
|
|
Secunia Poll
|
|
|
|
|
 |
|
|
Most Popular Advisories
|
|
|
|
|
|