module

Microsoft Error Reporting Local Privilege Elevation Vulnerability

Disclosed
2023-07-11
Created
2023-09-27

Description

This module takes advantage of a bug in the way Windows error reporting opens the report
parser. If you open a report, Windows uses a relative path to locate the rendering program.
By creating a specific alternate directory structure, we can coerce Windows into opening an
arbitrary executable as SYSTEM.
If the current user is a local admin, the system will attempt impersonation and the exploit will
fail.

Authors

Filip Dragović (Wh04m1001)
Octoberfest7
bwatters-r7

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/win_error_cve_2023_36874
msf exploit(win_error_cve_2023_36874) > show targets
...targets...
msf exploit(win_error_cve_2023_36874) > set TARGET < target-id >
msf exploit(win_error_cve_2023_36874) > show options
...show and set options...
msf exploit(win_error_cve_2023_36874) > 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.