(0Day) Microsoft Windows WebDAV Path Parsing Command Injection Remote Code Execution Vulnerability
A flaw in how Microsoft Windows handles WebDAV paths lets a crafted path cause a system call built from attacker-supplied text to run. An attacker could use this to execute code as the current user, but the victim must first visit a malicious page or open a malicious file.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Microsoft Windows. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
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, the WebDAV path handling passes user-supplied path text into a system call without properly validating or escaping it.
Impact
An attacker could execute arbitrary code in the context of the current user, though the vendor argued the required user interaction meant it did not meet its servicing bar.
What the attacker needed
Victim visits a malicious page; or victim opens a malicious file
The fix
The text gives no patch; the only suggested mitigation is to restrict which machines can talk to the WebDAV service, for example with firewall rules or whitelisting.
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.
WebDAV is a way for Windows to treat files on a web server like files on your own computer. This report says that if Windows is given a specially crafted WebDAV path, it can end up running a command built from text the attacker controls, which means the attacker's code runs on your machine. The catch is that you have to be tricked into visiting a bad page or opening a bad file first.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.