phpRaid Multiple Parameter Remote SQL Injection and File Inclusion Vulnerabilities


Description   Multiple vulnerabilities have been identified in phpRaid, which could be exploited by remote attackers to compromise a vulnerable server.
The first issue is due to an input validation error in the "view.php" script that fails to properly validate the "raid_id" parameter before being used in SQL statements, which could be exploited by malicious people to conduct SQL injection attacks.
The second vulnerability is due to an input validation error in the "log_hack()" [includes/functions_logging.php] function that does not validate a malformed URL before being used in SQL statements, which could be exploited by malicious people to conduct SQL injection attacks.
The third vulnerability is due to input validation errors in various scripts (e.g. "configuration.php" and "guilds.php") that do not validate the "phpraid_dir" parameter, which may be exploited by remote attackers to include local or remote scripts with the privileges of the web server.
     
Vulnerable Products   Vulnerable Software:
phpRaid version 3.0.5 and prior
     
Solution   Upgrade to phpRaid version 3.0.6 : http://www.spiffyjr.com/phpraid_downloads.php
     
CVE   CVE-2006-3322
CVE-2006-3116
CVE-2006-3115
     
References   http://secunia.com/secunia_research/2006-47/advisory
     
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
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 
2006-06-29 

 Target Type 
Server 

 Possible exploit 
Local & Remote