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.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Microsoft Windows. Authentication is not required to exploit this vulnerability.
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.