Mantis Remote PHP File Inclusion and SQL Injection Vulnerabilities


Description   Two vulnerabilities were identified in Mantis, which could be exploited by attackers to execute arbitrary commands or conduct SQL injection attacks.
The first issue is due to unspecified input validation errors in various scripts that do not properly filter specially crafted variables, which may be exploited by remote users to conduct SQL injection attacks.
The second flaw is due to an input validation error in the "bug_sponsorship_list_view_inc.php" script when processing a specially crafted "t_core_path" variable, which could be exploited by attackers to include malicious files and execute arbitrary commands.
     
Vulnerable Products   Vulnerable Software:
Mantis versions prior to 0.19.3
     
Solution   Upgrade to Mantis version 0.19.3 : http://sourceforge.net/project/showfiles.php?group_id=14963
     
CVE   CVE-2005-3336
CVE-2005-3335
     
References   http://secunia.com/secunia_research/2005-46/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 
2005-10-27 

 Target Type 
Server 

 Possible exploit 
Local & Remote