TITLE: cPanel Multiple Cross-Site Scripting Vulnerabilities
SECUNIA ADVISORY ID: SA21592
VERIFY ADVISORY: http://secunia.com/advisories/21592/
CRITICAL: Less critical
IMPACT: Cross Site Scripting
WHERE: >From remote
SOFTWARE: cPanel 10.x http://secunia.com/product/5280/
DESCRIPTION: Preth00nker has reported some vulnerabilities in cPanel, which can be exploited by malicious people to conduct cross-site scripting attacks.
Input passed to the "dir" parameter in dohtaccess.html and to the "file" parameter in editit.html and showfile.html 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.
Examples: http://[host]:2082/frontend/x/htaccess/dohtaccess.html?dir=[code] http://[host]:2082/frontend/x/files/editit.html?dir=/&file=[code] http://[host]:2082/frontend/x/files/showfile.html?dir=/&file=[code]
SOLUTION: Filter malicious characters and character sequences in a web proxy.
PROVIDED AND/OR DISCOVERED BY: Preth00nker
About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities.
Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/
Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor.