Skip to content
Access control Advisory Advanced CVE-2020-13522

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.

A member Follow

Originally disclosed on Cisco Talos

High 8.8 View original

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.

a member, on Cisco Talos

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

  1. Open the driver's device object as a normal user.
  2. Build an input buffer containing the target file path and the expected header fields.
  3. Send an I/O control request with code 0x222004 to the device.
  4. 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.

More by A member

View all

110 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.