cPanel detailbw.html target Variable XSS

2006-02-02T09:47:39
ID OSVDB:22939
Type osvdb
Reporter Simo Ben Youssef(simo@morx.org)
Modified 2006-02-02T09:47:39

Description

Vulnerability Description

cPanel contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate 'target' variable upon submission to the detailbw.html script. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.

Technical Description

The variables 'year', 'mon' and 'target' were previously disclosed and covered under OSVDB 6946.

Solution Description

Currently, there are no known upgrades, patches, or workarounds available to correct this issue.

Short Description

cPanel contains a flaw that allows a remote cross site scripting attack. This flaw exists because the application does not validate 'target' variable upon submission to the detailbw.html script. This could allow a user to create a specially crafted URL that would execute arbitrary code in a user's browser within the trust relationship between the browser and the server, leading to a loss of integrity.

Manual Testing Notes

http://[target]:2082/frontend/xcontroller/stats/detailbw.html?mon=Jan&year=2006&domain=xxx&target="><script>alert('vul')</script>

References:

Vendor URL: http://www.cpanel.net/ Secunia Advisory ID:18695 Related OSVDB ID: 6946 Related OSVDB ID: 22938 Related OSVDB ID: 22940 Related OSVDB ID: 22936 Related OSVDB ID: 22937 Mail List Post: http://archives.neohapsis.com/archives/fulldisclosure/2006-02/0025.html CVE-2006-0573