Skip to content
Memory corruption Write-up Advanced

CVE-2024–38077: Critical RCE in Windows RDL Service

The Windows Remote Desktop Licensing service fails to validate the size of decoded license data against the allocated buffer, causing a heap-based buffer overflow. An unauthenticated attacker could send a crafted packet to execute arbitrary code with system-level privileges.

medium.com

Published on medium.com

In August 2024, security researchers disclosed partial details of a critical vulnerability affecting Windows Remote Desktop Licensing (RDL) Service, tracked as CVE-2024–38077. This vulnerability allows unauthenticated remote code execution (RCE) on affected servers — no user interaction required.

AerieWhole123, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

How it worked

Impact

If exploited successfully, this vulnerability can lead to full server takeover, data exfiltration or destruction, service disruption, and deployment of ransomware or remote access trojans.

What the attacker needed

RDL service enabled; Network access to RDL service

The fix

Microsoft released security updates in the July 2024 Patch Tuesday batch; disabling the RDL service is a temporary workaround if not required.

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 write-up has not been written yet. The Original tab links to the source.

A Windows service that manages remote desktop licences has a bug where it trusts the size of incoming data without checking it fits in memory. An attacker can send a specially crafted network message that overflows a memory buffer, letting them run their own code on the server without logging in.

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.

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.