vendor:
Windows
by:
Not Available
CVSS
HIGH
Elevation of Privilege
Not Available
CWE
Product Name: Windows
Affected Version From: Windows 1703
Affected Version To: Windows 1709
Patch Exists: YES
Related CWE: Not Available
CPE: Not Available
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Windows
2017
Windows: Desktop Bridge Virtual Registry NtLoadKey Arbitrary File Read/Write EoP
The handling of the virtual registry NtLoadKey callback reloads registry hives insecurely leading to arbitrary file creation resulting in EoP. On 1703 it doesn’t check for the Application Key flag, but then recalls ZwLoadKey with the arguments passed by the user mode caller. This effectively allows you to circumvent the requirement for SeRestorePrivilege as will also create a new hive file with kernel privileges in the context of the current user. This is a trivial EoP by dropping a arbitrary file to disk then getting system privileges.
Mitigation:
Install the latest version of Windows 1709 or later.