module

Microsoft Windows NtUserMNDragOver Local Privilege Elevation

Disclosed
2019-03-12
Created
2020-05-07

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

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
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.