WIBU-SYSTEMS WibuKey.sys 0x8200E804 pool corruption privilege escalation vulnerability
A buffer overflow in the IOCTL handler for control code 0x8200E804 in WibuKey.sys allows a local attacker to cause kernel pool corruption by sending a specially crafted IRP request. This can potentially lead to privilege escalation and arbitrary code execution.
Originally disclosed on Cisco Talos
An exploitable pool corruption vulnerability exists in the 0x8200E804 IOCTL handler functionality of WIBU-SYSTEMS WibuKey.sys Version 6.40 (Build 2400).
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 an integer overflow in the size check before a memcpy, allowing a user-controlled length to bypass the check and cause an out-of-bounds write.
Impact
An attacker could cause kernel memory corruption, potentially leading to privilege escalation and arbitrary code execution.
What the attacker needed
Local access to the system; ability to send IOCTL requests to the WibuKey device
The fix
The vulnerability was fixed by the vendor in a patch released on 2018-12-19.
How it was found
- Open a handle to the WibuKey device.
- Craft an input buffer with specific fields, including a large value for the length field.
- Send an IOCTL request with control code 0x8200E804 and the crafted buffer.
- The driver processes the request, leading to pool corruption and a system crash.
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 in the WibuKey software has a bug: when it receives a particular type of request, it copies more data than it should into a memory buffer. This can crash the system or let an attacker run their own code with high privileges. The attacker needs to be able to send requests to the driver, which any user on the machine can do.
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.