This module exploits a flaw in the ndproxy. sys driver on Windows XP SP3 and Windows 2003 SP2 systems, exploited in the wild in November, 2013. The vulnerability exists while processing an IO Control Code 0x8fff23c8 or 0x8fff23cc, where user provided input is used to access an array unsafely, and the value is used to perform a call, leading to a NULL pointer dereference which is exploitable on both Windows XP and Windows 2003 systems. This module has been tested successfully on Windows XP SP3 and Windows 2003 SP2. In order to work the service "Routing and Remote Access" must be running on the target system.
- c:> MS14-002.exe XP
- c:> MS14-002.exe 2k3
load the module within the msf
msf > use exploit/windows/local/ms_ndproxy msf exploit(ms_ndproxy) > show targets ...targets... msf exploit(ms_ndproxy) > set TARGET <target-id> msf exploit(ms_ndproxy) > show options ...show and set options... msf exploit(ms_ndproxy) > exploit