Storage Spaces Controller Elevation of Privilege Vulnerability (CVE-2021-40489)
A Windows Storport driver used by Storage Spaces mishandled a crafted IOCTL request, causing an out-of-bounds buffer write. A local attacker already running at medium integrity could send such a request from a user-mode application to gain elevated privileges.
FAQ
How could an attacker exploit this vulnerability? An authorized (medium integrity level) attacker could exploit this Windows Storport driver elevation of privilege vulnerability by locally sending through a user mode application a specially crafted request to the driver specifying an IOCTL parameter, which could lead to an out-of-bounds buffer write.
Windows Storage Spaces Controller
Windows Storage Spaces Controller
Microsoft
Microsoft
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 driver failed to validate the size or contents of an IOCTL parameter before writing to a buffer, allowing an out-of-bounds write.
Impact
A local attacker at medium integrity could escalate privileges, potentially to a higher integrity level or kernel code execution, though the text only states it could lead to an out-of-bounds write.
What the attacker needed
Local access to the machine; ability to run a user-mode application; medium integrity level
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 splits programs into privilege levels, and normal user programs run at a lower level than core system code. This bug is in a driver, a piece of software that runs with high trust, and it writes data past the end of a buffer when given a malformed request. Someone who can already run a program on the machine could use that to take control at a higher privilege level.
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.