Skip to content
RCE Advisory Advanced CVE-2019-1422

Windows Elevation of Privilege Vulnerability (CVE-2019-1422)

A flaw in how the Windows IP Helper service (iphlpsvc.dll) creates files allowed a local attacker to overwrite files and run code with higher privileges. The attacker needed to be logged in and run a specially crafted program.

Theori Follow

Originally disclosed on Microsoft

High 7.8 View original

Description

An elevation of privilege vulnerability exists in the way that the iphlpsvc.dll handles file creation allowing for a file overwrite. An attacker who successfully exploited the vulnerability could execute code with elevated permissions. To exploit the vulnerability, a locally authenticated attacker could run a specially crafted application. The security update addresses the vulnerability by ensuring the iphlpsvc.dll properly handles this type of functionality.

Microsoft Windows

Microsoft Windows

The original report as published on the Microsoft Security Response Center, by kkokkokye@THEORI working with Trend Micro's Zero Day Initiative. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a file creation routine in iphlpsvc.dll that follows symbolic links or uses predictable paths, letting a low-privileged user redirect a privileged write to an arbitrary file.

Impact

A locally authenticated attacker could execute code with elevated permissions.

What the attacker needed

Local login on the target machine

The fix

The vulnerability was fixed by a security update that ensures iphlpsvc.dll properly handles file creation.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a bug in a background Windows service that runs with high permissions. Because it did not handle file creation safely, a normal user could trick it into overwriting a file, and then get the service to run their code as an administrator. The attacker must already have a login on the machine.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Theori

View all

1 more disclosed report, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.