Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


Cacti SQL Injection and Path Disclosure Vulnerability Advisory Available in Danish 

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

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
Mozilla Firefox Multiple Vulnerabilities
2.
Opera for Windows Unspecified Code Execution
3.
Opera Canvas Functions Information Disclosure
4.
Mozilla Firefox Unspecified Code Execution Vulnerability
5.
PCRE pcre_compile.c Buffer Overflow Vulnerability
6.
GNOME Glib PCRE pcre_compile.c Buffer Overflow Vulnerability
7.
VLC Media Player WAV Processing Integer Overflow
8.
UnixWare ReliantHA Privilege Escalation Vulnerabilities
9.
Novell eDirectory ds.dlm Module Buffer Overflow
10.
Internet Explorer 7 Frame Location Handling Vulnerability





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia