Skip to content
Memory corruption Advisory Advanced CVE-2024-38138

Windows Deployment Services Remote Code Execution Vulnerability (CVE-2024-38138)

Windows Deployment Services contains a use-after-free memory corruption flaw. An authenticated user who knows a specific RPC operation could trigger the memory allocation failure and potentially execute code.

VictorV Follow

Originally disclosed on Microsoft

High 7.5 View original

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? For an attacker to exploit this vulnerability, they would need to have knowledge of a specific operation that triggers a memory allocation failure, specifically a use after free.

FAQ

According to the CVSS metric, privileges required is low (PR:L). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires the attacker to be an authenticated Windows Deployment Services user and to request a certain operation via an RPC call.

Windows Deployment Services

Windows Deployment Services

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by VictorV(Tang tianwen) with Kunlun Lab. 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 use-after-free in the handling of a specific RPC operation, where memory is freed but still referenced.

Impact

An authenticated Windows Deployment Services user could potentially execute code on the affected system, though the high attack complexity means exploitation is not trivial.

What the attacker needed

Authenticated WDS user; knowledge of specific RPC operation

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.

A use-after-free is a memory bug where a program keeps using a piece of memory after it has been freed, which can let an attacker control what happens next. Here, someone who already has a valid login to Windows Deployment Services could send a special request that triggers this bug and possibly run their own code on the server.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by VictorV

View all

9 more disclosed reports, 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.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.