When a .url File Can Own You — CVE-2025–33053 Explained
A .url file can be crafted to launch a Windows utility with its working directory set to a remote WebDAV share, causing an attacker-supplied executable to run silently. An attacker could achieve code execution without UAC or SmartScreen warnings by tricking a user into opening the shortcut.
medium.com
Published on medium.com
A user gets an email from a legit looking fellow user, about a new policy regarding the security of their company. The email contains sensitive document, inside a zip 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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Windows utility iediagcmd.exe loads executable files from its current working directory, which can be set to a remote WebDAV share via a .url file, allowing attacker-controlled code to run.
Impact
An attacker could execute arbitrary code silently without UAC or SmartScreen warnings, potentially leading to full system compromise.
What the attacker needed
Victim opens a .url file; WebDAV server accessible; WebClient service enabled
The fix
The vulnerability was fixed in June 2025 Windows updates; additionally, disabling the WebClient service and blocking .url files can mitigate risk.
How it was found
- Set up a WebDAV server with anonymous write access.
- Place a malicious executable (e.g., route.exe) on the WebDAV share.
- Create a .url file that points to iediagcmd.exe and sets WorkingDirectory to the WebDAV share.
- Deliver the .url file to the victim (e.g., via email or zip).
- Victim opens the .url file, causing iediagcmd.exe to run from the remote share and execute the payload.
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 .url file is a simple shortcut that normally opens a website. Here, the shortcut is abused to start a built-in Windows program from a remote file server, and that program runs a malicious file placed there. The user only sees a fake PDF, while code runs in the background.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.