W3C Jigsaw Proxy Server存在跨站脚本执行攻击发布时间:2002-08-28 更新时间:2002-08-28 严重程度:中 威胁程度:用户敏感信息泄露 错误类型:输入验证错误 利用方式:客户机模式 BUGTRAQ ID:5506 受影响系统 W3C Jigsaw 2.2详细描述 当代理服务器不能解析FQDN域名时,就会返回错误页面给客户端,不过这个URL包含的页面内容没有对数据进行完全过滤,攻击者可以嵌入恶意脚本代码到URL中,当其他用户查看这个链接时候,就可以导致脚本代码在用户浏览器中执行。导致COOKIE等信息泄露。 测试代码 http://nonexistenthost.google.com/<SCRIPT>document.write(document.cookie)</SCRIPT> ======================================================== An HTTP error occured while getting: <p> <strong>http://nonexistenthost.google.com/<SCRIPT>document.write(document.cookie)</SCRIPT></strong><p> Details "The host name [nonexistenthost.google.com] couldn't be resolved. Details: "nonexistenthost.google.com"".<hr>Generated by <i>http://.............:8001/ ...snip... ======================================================== 解决方案 升级程序: W3C Jigsaw 2.2: W3C Upgrade Jigsaw 2.2.1 http://www.w3.org/Jigsaw/#Getting 相关信息 Hiromitsu Takagi <takagi.hiromitsu@aist.go.jp>. 参考:http://online.securityfocus.com/archive/1/288126 相关主页:http://www.w3.org/Jigsaw/ |