SoftPerfect RAM Disk spvve.sys 0x222004 arbitrary file deletion vulnerability
The spvve.sys driver in SoftPerfect RAM Disk 4.1 exposes a device object that any local user can open, and a crafted I/O request packet with a chosen file path causes that file to be deleted. An unprivileged user could therefore delete arbitrary files on the system.
An exploitable arbitrary file delete vulnerability exists in SoftPerfect RAM Disk 4.1 spvve.sys driver. A specially crafted I/O request packet (IRP) can allow an unprivileged user to delete any file on the filesystem.
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 driver's device object is accessible to all users and its delete request handler trusts a user-supplied file path without checking the caller's privileges.
Impact
A regular local user could delete any file on the system, including operating system files, which may lead to denial of service or privilege escalation.
What the attacker needed
Local access to the machine; ability to run code as a normal user
The fix
The vendor patched the driver, presumably by restricting access to the device object and validating the delete request.
How it was found
- Open the driver's device object as a normal user.
- Build an input buffer containing the target file path and the expected header fields.
- Send an I/O control request with code 0x222004 to the device.
- The driver deletes the file named in the buffer.
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.
A driver is software that runs with high privileges inside the operating system. This driver lets any logged-in user talk to it, and one particular request tells it to delete a file whose path the user supplies, so a normal user can wipe files they should not be able to touch.
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.