Skip to content
RCE Advisory Advanced CVE-2024-38199

Windows Line Printer Daemon (LPD) Service Remote Code Execution Vulnerability (CVE-2024-38199)

An unauthenticated attacker could send a specially crafted print task to a vulnerable Windows Line Printer Daemon (LPD) service over the network, potentially achieving remote code execution on the server.

bee13oy Follow

Originally disclosed on Microsoft

High 9.8 View original

FAQ

How could an attacker exploit this vulnerability? An unauthenticated attacker could send a specially crafted print task to a shared vulnerable Windows Line Printer Daemon (LPD) service across a network. Successful exploitation could result in remote code execution on the server.

FAQ

Windows 11, version 24H2 is not generally available yet. Why are there updates for this version of Windows listed in the Security Updates table? The new Copilot+ devices that are now publicly available come with Windows 11, version 24H2 installed. Customers with these devices need to know about any vulnerabilities that affect their machine and to install the updates if they are not receiving automatic updates. Note that the general availability date for Windows 11, version 24H2 is scheduled for later this year.

Line Printer Daemon Service (LPD)

Line Printer Daemon Service (LPD)

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by bee13oy with Cyber 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

Impact

Successful exploitation could result in remote code execution on the server, but the text does not confirm that this was demonstrated in practice.

What the attacker needed

Network access to the LPD service; LPD service enabled and shared; no authentication required

The fix

Microsoft released security updates for affected Windows versions, and customers should install them.

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.

The Line Printer Daemon (LPD) is a service that lets computers send print jobs to a shared printer over a network. This report says that if that service is exposed, an attacker who can reach it can send a malformed print job that may let them run their own code on the server. No username or password is needed to try.

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 bee13oy

View all

34 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.

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.