(CVE-2025-54098) Windows Hyper-V vhdmp.sys Arbitrary File Write Leading to Elevation of Privilege
An improper access control flaw in the Windows Hyper-V virtual hard disk driver (vhdmp.sys) lets a local unprivileged attacker write arbitrary data to any file on the system. This could be used to elevate privileges.
starlabs.sg
Published on starlabs.sg
The Virtual Hard Disk Miniport Driver (vhdmp.sys) handles VHD and ISO mount requests on Windows. It is present and running by default on every installation of Windows 11.
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 driver fails to validate the caller's access rights before performing file write operations, allowing an unprivileged local user to write to arbitrary paths.
What the attacker needed
Local access to the machine; unprivileged user account
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.
Hyper-V is Microsoft's virtualisation software, and vhdmp.sys is a driver that handles virtual disk files. The driver does not properly check who is allowed to do what, so a normal user on the machine can make it write to files they should not be able to touch, which can lead to taking over the system.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.