OTRS Remote SQL Injection and Cross Site Scripting Vulnerabilities


Description   Multiple vulnerabilities were identified in OTRS (Open source Ticket Request System), which could be exploited by malicious users to perform SQL injection or cross site scripting attacks.
The first issue is due to an input validation error in the "index.pl" file when processing specially crafted "QueueID" and "Action" parameters, which may be exploited by attackers to cause arbitrary scripting code to be executed by the user's browser.
The second flaw is due to an error where attachments of incoming emails are opened insecurely in the browser, which may be exploited by attackers to cause arbitrary scripting code to be executed by the user's browser.
The third vulnerability is due to input validation errors in the "index.pl" and "admin/index.pl" files when processing specially crafted "Action", "TicketID" and "ArticleID" parameters, which may be exploited by malicious people to conduct SQL injection attacks.
     
Vulnerable Products   Vulnerable Software:
OTRS version 2.0.3 and priorOTRS version 1.3.2 and prior
     
Solution   Upgrade to OTRS version 2.0.4 or 1.3.3 : http://otrs.org/download/
     
CVE   CVE-2005-3895
CVE-2005-3894
CVE-2005-3893
     
References   http://www.frsirt.com/english/reference/1187
     
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 
Moderate 

 Vulnerability First Public Report Date 
2005-11-22 

 Target Type 
Server 

 Possible exploit 
Local & Remote