NZXT CAM WinRing0x64 Driver Privileged I/O Write IRPs Privilege Escalation Vulnerability
The WinRing0x64 driver shipped with NZXT CAM exposes a device that any local user can open, and several I/O control codes pass user-supplied values straight to the processor OUT instruction at elevated privilege. A low-privilege attacker could therefore write to hardware I/O ports and potentially escalate their privileges.
A privilege escalation vulnerability exists in the WinRing0x64 Driver Privileged I/O Write IRPs functionality of NZXT CAM 4.8.0. A specially crafted I/O request packet (IRP) can cause increased privileges.
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
The driver exposes its device to all users and forwards user-controlled I/O control requests to the privileged OUT instruction without any access check or validation.
Impact
A low-privilege local user could write to processor I/O ports at elevated privilege, which could be used for privilege escalation.
What the attacker needed
Local access to the machine; a low-privilege 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 report has not been written yet. The Original tab links to the source.
A driver is a low-level program that runs with high trust inside the operating system. This one lets any logged-in user send it commands, and some of those commands write directly to the computer's hardware ports, which normal users should never be able to do. That extra power could let someone with a basic account take more control of the machine.
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.