|
 |
|
Cacti SQL Injection and Path Disclosure Vulnerability
|
|
|
|
|
Secunia Advisory:
|
SA12308
|
|
|
Release Date:
|
2004-08-18
|
|
Last Update:
|
2005-02-28
|
|
|
Critical:
|

Moderately critical
|
|
Impact:
|
Manipulation of data Exposure of system information
|
|
Where:
|
From remote
|
|
Solution Status:
|
Partial Fix
|
|
| Software: | Cacti 0.x
|
| | CVE reference: | CVE-2004-1736 (Secunia mirror) CVE-2004-1737 (Secunia mirror)
|
|
|
|
|
|
Description: Fernando Quintero has reported two vulnerabilities in Cacti, which can be exploited by malicious people to see the installation path and conduct SQL injection attacks.
1) Path information can be disclosed in error pages by passing invalid input or accessing scripts directly.
Examples:
http://[victim]/cacti/include/auth.php
http://[victim]/cacti/auth_login.php?action=login
http://[victim]/cacti/auth_changepassword.php?ref=indexphp&action=changepassword&password=aaaaaa&confirm=aaaaaa&submit=Save
2) Input passed to the "username" and "password" parameters in "auth_login.php" isn't properly verified before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code in order to change the administrator's password and login without supplying a password.
Successful exploitation requires that "magic_quotes_gpc" is disabled.
The vulnerabilities have been reported in version 0.8.5 and prior.
Solution: Set "magic_quotes_gpc" to "on".
The fix that the vendor has added in the CVS repository for "auth_login.php" is not sufficient. Malicious people can still inject arbitrary SQL code and thereby bypass the user authentication.
Provided and/or discovered by: Fernando Quintero
Changelog: 2005-02-28: Added CVE references.
|
|
|
|
|
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 Command Execution and SQL Injection Vulnerabilities
|
|
5. Cacti ADOdb "server.php" Insecure Test Script Security Issue
|
|
6. Cacti "no_http_headers" Security Bypass and Shell Command Injection
|
|
7. Cacti Multiple Vulnerabilities
|
|
|
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
|
|
|
|
|
|