cPanel Multiple Cross-Site Scripting Vulnerabilities


Description   Multiple vulnerabilities have been reported in cPanel, which can be exploited by malicious people to conduct cross-site scripting attacks.
1) Input passed to multiple parameters in 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]/frontend/x3/mail/manage.html?account
" target="_blank">http://[host]/frontend/x3/mail/manage.html?account
</a>
<a href="http://[host]/webmail/x3/mail/filters/editfilter.html?filtername
" target="_blank">http://[host]/webmail/x3/mail/fi...editfilter.html?filtername
</a>
<a href="http://[host]/frontend/x3/files/dir.html?dir
" target="_blank">http://[host]/frontend/x3/files/dir.html?dir
</a>
2) Input passed to multiple parameters in 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]/scripts/saveedits?reseller-NS&reseller-NS2&reseller-NS3&reseller-NS4
" target="_blank">http://[host]/scripts/saveedits?...eller-NS3&reseller-NS4
</a>
<a href="http://[host]/webmail/x3/mail/clientconf.html?acct
" target="_blank">http://[host]/webmail/x3/mail/clientconf.html?acct
</a>
<a href="http://[host]/frontend/x3/stats/detailbw.html?domain
" target="_blank">http://[host]/frontend/x3/stats/detailbw.html?domain
</a>
The vulnerabilities are reported in versions prior to 11.30.7.5, 11.32.6.0, and 11.34.1.6.
     
Vulnerable Products   Vulnerable Software:
cPanel 11.x
     
Solution   Update to version 11.30.7.5, 11.32.6.0, or 11.34.1.6.
     
CVE  
     
References   cPanel (Case 62745):
http://docs.cpanel.net/twiki/bin/view/AllDocumentation/ChangeLog/CPanelVersion1134#11.34.1.6
http://docs.cpanel.net/twiki/bin/view/AllDocumentation/ChangeLog/CPanelVersion1132#11.32.6.0
http://docs.cpanel.net/twiki/bin/view/AllDocumentation/ChangeLog/CPanelVersion1130#11.30.7.5
Rafay Baloch:
http://packetstormsecurity.org/files/119071/C-Panel-Cross-Site-Scripting.html
http://packetstormsecurity.org/files/119127/WHM-editfilter.html-Cross-Site-Scripting.html
http://packetstormsecurity.org/files/119126/C-Panel-dir.html-Cross-Site-Scripting.html
Christy Philip Mathew:
http://packetstormsecurity.org/files/119113/C-Panel-WHM-11.34.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 
2012-12-26 

 Target Type 
Server 

 Possible exploit 
Remote