Cacti Multiple File Inclusion and SQL Injection Vulnerabilities


Description   Multiple vulnerabilities were identified in Cacti, which could be exploited by remote attackers to execute arbitrary commands or conduct SQL injection attacks.
- The first issue is due to an input validation error in the "top_graph_header.php" file that does not properly filter the "config[library_path]" variable, which could be exploited by remote attakers to include malicious PHP scripts and execute arbitrary commands with the privileges of the web server.
- The second vulnerability is due to an input validation error in the "config_settings.php" file that does not properly filter the "config[include_path]" variable, which could be exploited by remote attakers to include malicious PHP scripts and execute arbitrary commands with the privileges of the web server.
- The third flaw resides in the "config_settings.php" sript that does not properly filter user-supplied input, which could be exploited by remote attackers to execute arbitrary SQL commands.
     
Vulnerable Products   Vulnerable Software:
RaXnet Cacti version 0.8.6d and prior
     
Solution   Upgrade to RaXnet Cacti version 0.8.6e : http://www.cacti.net/download_cacti.php
     
CVE   CVE-2005-1526
CVE-2005-1525
CVE-2005-1524
     
References   http://www.cacti.net/release_notes_0_8_6e.php
http://www.idefense.com/application/poi/display?id=265&type=vulnerabilities
http://www.idefense.com/application/poi/display?id=266&type=vulnerabilities
http://www.idefense.com/application/poi/display?id=267&type=vulnerabilities
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
SQL injection Prevention - GET : suspicious OR statement in URL
3.2.0
SQL injection Prevention - POST : suspicious SELECT statement in data
3.2.0
SQL injection Prevention - GET : suspicious combination of 'OR' or 'AND' statements in URL
3.2.0
SQL injection Prevention - POST : possible version probing in data
3.2.0
SQL injection Prevention - GET : suspicious CREATE statement in URL
3.2.0
SQL injection Prevention - GET : suspicious OPENROWSET statement in URL
3.2.0
SQL injection Prevention - POST : suspicious OPENQUERY statement in data
3.2.0
SQL injection Prevention - POST : suspicious CREATE statement in data
3.2.0
SQL injection Prevention - POST : suspicious UPDATE statement in data
3.2.0
SQL injection Prevention - POST : suspicious UNION statement in data
3.2.0
SQL injection Prevention - GET : suspicious OPENQUERY statement in URL
3.2.0
SQL injection Prevention - GET : suspicious shutdown statement in URL
3.2.0
SQL injection Prevention - GET : suspicious UNION SELECT statement in URL
3.2.0
SQL injection Prevention - POST : suspicious DROP statement in data
3.2.0
SQL injection Prevention - GET : possible database version probing
3.2.0
SQL injection Prevention - POST : suspicious INSERT statement in data
3.2.0
SQL injection Prevention - POST : suspicious OR statement in data
3.2.0
PHP : Remote file inclusion prevention : URL found as parameter
3.2.0
SQL injection Prevention - GET : suspicious UPDATE SET statement in URL
3.2.0
SQL injection Prevention - POST : suspicious EXEC statement in data
3.2.0
SQL injection Prevention - GET : suspicious SELECT statement in URL
3.2.0
SQL injection Prevention - GET : suspicious INSERT statement in URL
3.2.0
SQL injection Prevention - GET : suspicious DROP statement in URL
3.2.0
SQL injection Prevention - POST : suspicious OPENROWSET statement in data
3.2.0
SQL injection Prevention - GET : suspicious EXEC statement in URL
3.2.0
SQL injection Prevention - POST : suspicious HAVING statement in data
3.2.0
     


 
 
 
 
 Risk level 
High 

 Vulnerability First Public Report Date 
2005-06-22 

 Target Type 
Server 

 Possible exploit 
Local & Remote