module

Microsoft Windows NtUserMNDragOver Local Privilege Elevation

Disclosed
Mar 12, 2019
Created
May 7, 2020

Description

This module exploits a NULL pointer dereference vulnerability in
MNGetpItemFromIndex(), which is reachable via a NtUserMNDragOver() system call.

The NULL pointer dereference occurs because the xxxMNFindWindowFromPoint()
function does not effectively check the validity of the tagPOPUPMENU
objects it processes before passing them on to MNGetpItemFromIndex(),
where the NULL pointer dereference will occur.

This module has been tested against Windows 7 x86 SP0 and SP1. Offsets
within the solution may need to be adjusted to work with other versions
of Windows, such as Windows Server 2008.

Authors

Clément Lecigne
Grant Willcox
timwr

Platform

Windows

Architectures

x86

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/windows/local/ntusermndragover
msf exploit(ntusermndragover) > show targets
...targets...
msf exploit(ntusermndragover) > set TARGET < target-id >
msf exploit(ntusermndragover) > show options
...show and set options...
msf exploit(ntusermndragover) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.