|
Cacti SQL Injection and Path Disclosure Vulnerability
|
|
Secunia Advisory:
|
SA12308
|
|
|
Release Date:
|
2004-08-18
|
|
Last Update:
|
2005-02-28
|
|
Popularity:
|
9,721 views
|
|
|
Critical:
|
 Moderately critical
|
|
Impact:
|
Manipulation of data Exposure of system information
|
|
Where:
|
From remote
|
|
Solution Status:
|
Partial Fix
|
|
| Software: | Cacti 0.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2004-1736 CVE-2004-1737
|
|
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.
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
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.
|