Elastix Multiple Cross-Site Scripting Vulnerabilities


Description   Multiple vulnerabilities have been discovered in Elastix, which can be exploited by malicious people to conduct cross-site scripting attacks.
1) Input passed via the "Page" parameter to xmlservices/E_book.php and the "url" parameter to libs/jpgraph/Examples/bar_csimex3.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
2) Input passed via the URL to libs/jpgraph/Examples/bar_csimex3.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
3) Input passed via multiple parameters to multiple scripts is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
List of affected scripts and parameters:
<a href="http://[host]/libs/magpierss/scripts/magpie_debug.php?url
" target="_blank">http://[host]/libs/magpierss/scripts/magpie_debug.php?url
</a>
<a href="http://[host]/libs/magpierss/scripts/magpie_slashbox.php?rss_url
" target="_blank">http://[host]/libs/magpierss/scr...magpie_slashbox.php?rss_url
</a>
<a href="http://[host]/libs/jpgraph/Examples/show-image.php?target
" target="_blank">http://[host]/libs/jpgraph/Examples/show-image.php?target
</a>
4) The application bundles a vulnerable version of FreePBX.
For more information:
SA48463 (#1)
SA48475
5) The application bundles a vulnerable version of vtiger CRM.
For more information:
SA42304 (#2 and #22)
The vulnerabilities are confirmed in version 2.4.0. Other versions may also be affected.
     
Vulnerable Products   Vulnerable Software:
Elastix 2.x
     
Solution   No official solution is currently available.
     
CVE   CVE-2012-6608
     
References   cheki:
http://packetstormsecurity.org/files/118454/Elastix-2.3.0-Cross-Site-Scripting.html
http://packetstormsecurity.com/files/121832/Elastix-2.4.0-Cross-Site-Scripting.html
Bassem:
http://packetstormsecurity.com/files/124045/Elastix-2.4.0-Cross-Site-Scripting.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 
Low 

 Vulnerability First Public Report Date 
2013-11-19 

 Target Type 
Server 

 Possible exploit 
Remote