Elastix Two Local File Inclusion Vulnerabilities


Description   Two vulnerabilities have been discovered in Elastix, which can be exploited by malicious people to compromise a vulnerable system.
Input passed to the "module" and "action" parameters in vtigercrm/graph.php is not properly verified before being used to include files. This can be exploited to include arbitrary files and execute arbitrary PHP code by e.g. including a previously uploaded file with ".txt" extension containing PHP code via directory traversal sequences and URL-encoded NULL bytes.
This may be related to vulnerability #2 in:
SA46807
This vulnerability is confirmed in version 2.3. Prior versions may also be affected.
     
Vulnerable Products   Vulnerable Software:
Elastix 2.x
     
Solution   Update to version 2.4.0.
     
CVE  
     
References   Elastix:
http://www.elastix.org/index.php/en/developers/changelog/821.html
Faris AKA i-Hmx:
http://packetstormsecurity.com/files/119253/Elastix-2.3-PHP-Code-Injection.html
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
XSS - Prevention - GET : suspicious 'iframe' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'meta' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious tag with event found in URL
3.2.0
XSS - Prevention - GET : suspicious 'applet' tag found in URL
3.2.0
XSS - Phishing : suspicious 'div' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'style' attribute found in URL
3.2.0
XSS - Prevention - GET : suspicious 'img' tag found in URL
3.2.0
XSS - Phishing : suspicious 'a' tag found in URL
3.2.0
XSS - Prevention - GET : cookie access attempt using script language found in URL
3.2.0
XSS - Prevention - GET : suspicious 'embed' tag found in URL
3.2.0
XSS - Prevention - GET : suspicious 'object' tag found in URL
3.2.0
XSS - Phishing : suspicious 'form' tag found in URL
3.2.0
XSS - Prevention - GET : javascript code found in URL
3.2.0
XSS - Prevention - GET : evasion attempt using tag characters encoding in URL
3.2.0
XSS - Prevention - GET : suspicious 'style' tag found in URL
3.2.0
XSS - Phishing : suspicious 'link' tag found in URL
3.2.0
XSS - Prevention - GET : 'script' tag found in URL
3.2.0
XSS - Prevention - GET : 'location' javascript object found in URL
3.2.0
XSS - Prevention - GET : suspicious 'div' tag found in URL
3.2.0
SQL injection Prevention - GET : Evasion attempt with CAST and EXEC statements
5.0.0
     


 
 
 
 
 Risk level 
Moderate 

 Vulnerability First Public Report Date 
2012-11-30 

 Target Type 
Server 

 Possible exploit 
Remote