/* ***************************************************************************************************************** $ An open security advisory #17 - VMWare ActiveX lame local overflow ***************************************************************************************************************** 1: Bug Researcher: c0ntex - c0ntexb[at]gmail.com -+- www.open-security.org 2: Bug Released: August 18th or so... 2006 3: Bug Impact Rate: Code execution 4: Bug Scope Rate: Local ***************************************************************************************************************** $ This advisory and/or proof of concept code must not be used for commercial gain. ***************************************************************************************************************** VMWare http://vmware.com "Revolutionize software development, testing and deployment in your enterprise with powerful virtual machine software for developers and system administrators. VMware Workstation delivers powerful virtual machine software for the technical professional." Since this is a local only for ActiveX component, it requires being emailed or distribution via some p2p file share network or p2p chat networks. Pretty useless :) */ WinXP Pro SP2 lame local VMWare Buffer Overflow

Discovered and developed by c0ntex - c0ntexb@gmail.com
Visit my website at http://www.open-security.org

This will exploit overflow and execute calc.exe on WinXP Pro SP2
(fully patched) against VMWare 5.5.1 Initialize ActiveX member.

I have only found a bad solution to this bug. Due to the fact that
my controlling assembler is a call dword ptr[reg] I need to point
to a location I control, fine. However my payload is random pretty
much every run. Therefor I fill half a HUGE buffer with the address
(pointer) to my evil buffer, which them trampolines me to shellcode

call ptr [reg]
[reg] -> 0xtrampoline
0xtrampoline -> shellcode

# milw0rm.com [2006-08-27]