Adam Wright HTMLTidy 'html-tidy-logic.php' 跨站脚本攻击漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1116467 漏洞类型 跨站脚本
发布时间 2008-10-23 更新时间 2008-11-20
CVE编号 CVE-2008-4761 CNNVD-ID CNNVD-200810-472
漏洞平台 PHP CVSS评分 4.3
|漏洞来源
https://www.exploit-db.com/exploits/32527
https://www.securityfocus.com/bid/31908
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200810-472
|漏洞详情
KayakoeSupport3.20.2版本中的includes/htmlArea/plugins/HtmlTidy/html-tidy-logic.php存在跨站脚本攻击漏洞,允许远程攻击者借助jsMakeSrc参数注入任意的web脚本或HTML。
|漏洞EXP
source: http://www.securityfocus.com/bid/31908/info

Adam Wright HTMLTidy is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.

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

HTMLTidy 0.5 is vulnerable; other versions may also be affected. Products that include HTMLTidy as a component will also be vulnerable.

NOTE: This record was previously titled 'Kayako eSupport html-tidy-logic.php Cross Site Scripting Vulnerability'. It has been updated to properly describe the vulnerability as an HTMLTidy issue. 

http://www.example.com/[script_dir]/includes/htmlArea/plugins/HtmlTidy/html-tidy-logic.php?jsMakeSrc=return%20ns;%20}%20alert(2008);%20function%20whynot(){%20alert(2);
|受影响的产品
Adam Wright HTML Tidy 0.5 + Kayako eSupport 3.20.2 + Kayako SupportSuite 3.30.2
|参考资料

来源:XF
名称:esupport-htmltidylogic-xss(46097)
链接:http://xforce.iss.net/xforce/xfdb/46097
来源:BID
名称:31908
链接:http://www.securityfocus.com/bid/31908
来源:MLIST
名称:[oss-security]20081027XSSinHTMLTidypluginusedinWYSIWYGHTMLeditors
链接:http://www.openwall.com/lists/oss-security/2008/10/27/6
来源:MISC
链接:http://downloads.securityfocus.com/vulnerabilities/exploits/31908.html