PEAK-System Driver PCANFD_ADD_FILTERS Time-Of-Check Time-Of-Use Information Disclosure Vulnerability
The PEAK-System driver mishandles the PCANFD_ADD_FILTERS IOCTL because it does not lock an object properly during operations, creating a time-of-check to time-of-use race. A local attacker who can already run low-privileged code could disclose sensitive information and, combined with other flaws, execute code in the kernel.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to disclose sensitive information on affected installations of PEAK-System Driver. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.
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
Impact
A local low-privileged attacker could disclose sensitive information and, chained with other vulnerabilities, execute arbitrary code in the kernel.
What the attacker needed
Ability to run low-privileged code locally
The fix
It was fixed in version 8.19.0.
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 lets the operating system talk to hardware, and it runs with very high trust. Here, two actions on the same object can overlap because nothing stops them, so the driver may check something and then use it after it has changed. Someone who can already run a normal program on the machine could exploit this timing gap to read data they should not see.
What is Race condition?
Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.