Apple Safari WebCore跨站脚本攻击漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1113175 漏洞类型 跨站脚本
发布时间 2007-06-22 更新时间 2007-08-01
CVE编号 CVE-2007-2401 CNNVD-ID CNNVD-200706-400
漏洞平台 OSX CVSS评分 4.3
|漏洞来源
https://www.exploit-db.com/exploits/30228
https://www.securityfocus.com/bid/24598
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200706-400
|漏洞详情
iPhoe是蒴果公司开发的智能手机。iPhone的实现上存在多个安全漏洞,可导致恶意操作浏览器或信息泄露。具体漏洞条目如下:*CVE-2007-2401WebCore软件包的XMLHttpRequest处理HTTP请求头时存在漏洞,导致跨站脚本执行。
|漏洞EXP
source: http://www.securityfocus.com/bid/24598/info

Apple WebCore is prone to a cross-site scripting vulnerability because the application fails to properly sanitize user-supplied input.

An attacker may exploit this issue by enticing victims into visiting a malicious website.

The attacker may leverage this issue to execute arbitrary script code in an application using the affected framework (typically Safari). This may help the attacker steal cookie-based authentication credentials and launch other attacks. 

xmlhttp.setRequestHeader('Foo', 'baa\nHost: test\n');

The above request is treated as valid and results in:

GET / HTTP/1.1
Accept-Encoding: gzip, deflate
Accept-Language: en
Foo: baa
Host: test
|受影响的产品
WebKit Open Source Project WebKit 0 Apple Safari 3.0.2 Beta for Windows Apple Safari 3.0.1 Beta for Windows Apple Safari 2.0.4 Apple Safari 2.0.3 Apple Safari 2.0.2
|参考资料

来源:US-CERT
名称:VU#845708
链接:http://www.kb.cert.org/vuls/id/845708
来源:MISC
链接:http://www.westpoint.ltd.uk/advisories/wp-07-0002.txt
来源:SECTRACK
名称:1018281
链接:http://www.securitytracker.com/id?1018281
来源:BID
名称:24598
链接:http://www.securityfocus.com/bid/24598
来源:VUPEN
名称:ADV-2007-2296
链接:http://www.frsirt.com/english/advisories/2007/2296
来源:SECUNIA
名称:25786
链接:http://secunia.com/advisories/25786
来源:APPLE
名称:APPLE-SA-2007-06-22
链接:http://lists.apple.com/archives/Security-announce/2007/Jun/msg00003.html
来源:XF
名称:macos-xmlhttprequest-header-injection(35017)
链接:http://xforce.iss.net/xforce/xfdb/35017
来源:BUGTRAQ
名称:20070625SafariXMLHttpRequestHTTPheaderinjection
链接:http://www.securityfocus.com/archive/1/archive/1/472198/100/0/threaded
来源:VUPEN
名称:ADV-2007-2731
链接:http://www.frsirt.com/english/advisories/2007/2731
来源:VUPEN
名称:ADV-2007-2316
链接:http://www.frsirt.com/english/advisories/2007/2316
来源:SECUNIA
名称:26287
链接:http://secunia.com/advisories/26287
来源:docs.info.apple.com
链接:http://docs.info.a