Ruby flash_tool Filename 任意命令执行漏洞
发布日期:2013-03-03
更新日期:2013-03-05
受影响系统:rubygems flash_tool
描述:
BUGTRAQ ID:
58278
Ruby flash_tool是swftool命令行工具的Ruby封装器。
Ruby flash_tool 0.6版本在下载的文件中包含shell字符时,可能导致以客户端用户执行代码。
<*来源:Larry W. Cashdollar (
lwc@vapid.dhs.org)
链接:
http://seclists.org/fulldisclosure/2013/Mar/34?utm_source=twitterfeed&utm_medium=twitter
*>
测试方法:
警 告
以下程序(方法)可能带有攻击性,仅供安全研究与教学之用。使用者风险自负!
ie: flash_file;id>/tmp/o;.swf
./flash_tool-0.6.0/lib/flash_tool.rb
Lines:
26 command = "swfstrings #{file}"
27: output = `#{command} 2>&1`
88: command = "#{command} #{option} #{file}"
89: output = `#{command} 2>&1`
./flash_tool-0.6.0/lib/flash_tool/flash.rb
75: command = "#{command} #{args.join(" ")}"
76: output = `#{command} 2>&1`
建议:
厂商补丁:
rubygems
--------
目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:
http://rubygems.org/gems/flash_tool浏览次数:4046
严重程度:0(网友投票)