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 Multiple Vulnerabilities Advisory Available in Danish 

Secunia Advisory: SA15490  
Release Date: 2005-06-22
Last Update: 2005-07-13

Critical:
Highly critical
Impact: Manipulation of data
System access
Where: From remote
Solution Status: Vendor Patch

Software:Cacti 0.x

CVE reference:CVE-2005-1524 (Secunia mirror)
CVE-2005-1525 (Secunia mirror)
CVE-2005-1526 (Secunia mirror)
CVE-2005-2148 (Secunia mirror)

Want to know the next time vulnerabilities are fixed in this product?
- Companies can be alerted via email and SMS!


Description:
Some vulnerabilities have been reported in Cacti, which can be exploited by malicious people to conduct SQL injection attacks or compromise a vulnerable system.

1) Input passed to the "id" parameter in config_settings.php is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

2) Input passed to the "config[include_path]" parameter in config_settings.php and the "config[library_path]" parameter in top_graph_header.php is not properly sanitised before being used to include files. This can be exploited to include arbitrary files from external or local resources.

Successful exploitation requires that the "register_global" feature is enabled.

3) Input passed to the "graph_start" parameter in "graph_image.php" isn't properly verified before being used. This can be exploited to inject arbitrary shell commands.

NOTE: The vulnerabilities #1 and #3 were originally fixed in version 0.8.6e. However, it is reportedly possible to bypass the added security checks via a specially crafted combination of GET and POST/COOKIE data.

Solution:
Update to version 0.8.6f.
http://www.cacti.net/download_cacti.php

Provided and/or discovered by:
1) Discovered by anonymous person and reported via iDEFENSE.
2) Maciej Piotr Falkiewicz
3) Alberto Trivero

Additional information provided by:
Stefan Esser, Hardened-PHP Project

Changelog:
2005-06-23: Added additional information provided by iDEFENSE.
2005-07-05: New version released. Added information about that the security checks added for the vulnerabilities can be bypassed. Updated "Description" and "Solution" section.
2005-07-13: Added CVE reference.

Original Advisory:
Cacti.net:
http://www.cacti.net/changelog.php
http://www.cacti.net/release_notes_0_8_6e.php

iDEFENSE:
http://www.idefense.com/application/poi/display?id=267&type=vulnerabilities
http://www.idefense.com/application/poi/display?id=266&type=vulnerabilities
http://www.idefense.com/application/poi/display?id=265&type=vulnerabilities

Stefan Esser:
http://www.hardened-php.net/advisory-032005.php
http://www.hardened-php.net/advisory-042005.php



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 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

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


See Results   


Most Popular Advisories

1.
Advanced Poll Multiple Vulnerabilities
2.
OpenBSD BIND Query Port DNS Cache Poisoning
3.
Debian update for clamav
4.
Linux Kernel LDT Buffer Size Handling Vulnerability
5.
Drupal Session Fixation Vulnerability
6.
Apple Safari Cross-Domain Cookie Injection Vulnerability
7.
Microsoft Word Unspecified Code Execution Vulnerability
8.
Red Hat update for thunderbird
9.
Red Hat update for kernel
10.
Debian update for xulrunner





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