Skip to content
Memory corruption Advisory Advanced CVE-2019-0603

Microsoft Windows Deployment Services TFTP Server Use-After-Free Remote Code Execution Vulnerability

The WDSTFTP service mishandles TFTP read requests because it uses an object without first checking that the object still exists. A remote, unauthenticated attacker could exploit this to run arbitrary code in the context of the service process.

John Simpson Follow

Originally disclosed on Zero Day Initiative

Critical 9.8 View original

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Microsoft Windows. Authentication is not required to exploit this vulnerability.

John Simpson, on the Zero Day Initiative

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

How it worked

Root cause

Likely a use-after-free in WDSTFTP's handling of TFTP read requests, where an object is used without confirming it still exists.

Impact

A remote, unauthenticated attacker could execute arbitrary code in the context of the current process.

What the attacker needed

Network access to the WDSTFTP service; no authentication required

The fix

Microsoft issued an update to correct the vulnerability.

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.

Windows Deployment Services includes a small file-transfer server that uses TFTP, a simple protocol for sending files over the network. The server code used a piece of memory after it had already been freed, which is called a use-after-free. Because the attacker only needs to send network requests, no login is needed, and the freed memory can be shaped so that the server runs the attacker's code.

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 from Zero Day Initiative

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.