Apple Software Update格式串处理漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1112077 漏洞类型 格式化字符串
发布时间 2007-01-25 更新时间 2007-03-13
CVE编号 CVE-2007-0463 CNNVD-ID CNNVD-200701-493
漏洞平台 OSX CVSS评分 5.0
|漏洞来源
https://www.exploit-db.com/exploits/29523
https://www.securityfocus.com/bid/22222
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200701-493
|漏洞详情
AppleSoftwareUpdate用于通过HTTP协议为终端用户分发补丁。AppleSoftwareUpdate在处理畸形的文件名时存在漏洞,远程攻击者可能利用此漏洞在客户端上执行任意指令。SoftwareUpdate没有正确处理swutmp扩展中的文件名字符串,允许攻击者通过SWUTMP、SUCATALOG文件名中的格式串标识符或application/x-apple.sucatalog+xmlMIME类型执行格式串攻击,导致拒绝服务或执行任意指令。
|漏洞EXP
source: http://www.securityfocus.com/bid/22222/info

Apple Software Update is prone to a format-string vulnerability.

This issue presents itself because the application fails to properly sanitize user-supplied input before passing it as the format specifier to a formatted-printing function.

A successful attack may crash the application or possibly lead to arbitrary code execution. This may facilitate unauthorized access or privilege escalation in the context of the user running the application. 

$ touch %x.%x.%x.%x.%x.%x.%x.swutmp
$ open %x.%x.%x.%x.%x.%x.%x.swutmp
|受影响的产品
Apple Software Update 2.0.5 Apple Mac OS X Server 10.4.8 Apple Mac OS X Server 10.4.7 Apple Mac OS X Server 10.4.6 Apple Mac OS X Server 10.4.5 Apple Mac OS X Server 10.4
|参考资料

来源:US-CERT
名称:TA07-072A
链接:http://www.us-cert.gov/cas/techalerts/TA07-072A.html
来源:VUPEN
名称:ADV-2007-0337
链接:http://www.frsirt.com/english/advisories/2007/0337
来源:MISC
链接:http://projects.info-pull.com/moab/MOAB-24-01-2007.html
来源:SECTRACK
名称:1017755
链接:http://www.securitytracker.com/id?1017755
来源:BID
名称:22222
链接:http://www.securityfocus.com/bid/22222
来源:OSVDB
名称:32703
链接:http://www.osvdb.org/32703
来源:VUPEN
名称:ADV-2007-0930
链接:http://www.frsirt.com/english/advisories/2007/0930
来源:SECUNIA
名称:24479
链接:http://secunia.com/advisories/24479
来源:APPLE
名称:APPLE-SA-2007-03-13
链接:http://lists.apple.com/archives/security-announce/2007/Mar/msg00002.html
来源:docs.info.apple.com
链接:http://docs.info.apple.com/article.html?artnum=305214