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

NZXT CAM WinRing0x64 driver IRP 0x9c402088 privilege escalation vulnerability

The WinRing0x64 driver shipped with NZXT CAM exposes a device that any local user can open, and one of its I/O request packet handlers passes user-supplied values straight to the writemsr instruction without checks. A low-privileged attacker could therefore write to any model-specific register on the machine, which the report says could be used for privilege escalation.

Carl Hurd Follow

Originally disclosed on Cisco Talos

High 8.8 View original

A privilege escalation vulnerability exists in the WinRing0x64 Driver IRP 0x9c402088 functionality of NZXT CAM 4.8.0. A specially crafted I/O request packet (IRP) can cause increased privileges.

Carl Hurd, 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 exposes its device to all users and its IRP 0x9c402088 handler forwards caller-supplied register and value data to writemsr without validating the caller's privileges or the target register.

Impact

A local low-privileged user could write arbitrary values to any MSR, which the report states could be used for privilege escalation; no defence is described as blocking it.

What the attacker needed

Local access to the machine; a low-privileged user account; NZXT CAM 4.8.0 installed

How it was found

  1. Open a handle to the driver's device from a low-privileged account.
  2. Allocate a small buffer and lay out the MSR number and value in it.
  3. Send the crafted I/O request packet to the driver.
  4. Observe that the MSR value has changed, confirming the write succeeded.

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 a privileged piece of software that runs in the operating system's core. This one lets any logged-in user send it a request that writes to special CPU registers (MSRs) that control low-level processor behaviour, and it never checks who is asking or what value is being written. Because those registers are so powerful, a normal user could abuse this to gain higher rights on the computer.

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 Carl Hurd

View all

49 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.