Skip to content
Info disclosure Advisory Advanced CVE-2016-4306

Kaspersky Internet Security KLDISK Driver Multiple Kernel Memory Disclosure Vulnerabilities

The Kaspersky Internet Security KLDISK driver contains multiple IOCTL handlers that misuse buffered transfers, allowing an unprivileged user to send crafted IOCTL requests and leak kernel memory to user mode. This can expose sensitive information such as privileged tokens or kernel memory addresses that may aid in bypassing kernel mitigations.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

Medium 5.5 View original

Multiple information leaks exist in various IOCTL handlers of the Kaspersky Internet Security KLDISK driver. Specially crafted IOCTL requests can cause the driver to return out of bounds kernel memory, potentially leaking sensitive information such as privileged tokens or kernel memory addresses that may be useful in…

Marcin ‘Icewall’ Noga, 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 sets the output buffer length in the IOCTL status information based on a user-supplied value without properly validating or updating it when an error condition occurs, leading to out-of-bounds kernel memory disclosure.

Impact

An unprivileged user could leak kernel memory contents, potentially obtaining sensitive information like privileged tokens or kernel addresses that may be used to bypass kernel mitigations.

What the attacker needed

Local access to the system; Ability to run a program

How it was found

  1. Open a handle to the \Device\KlDiskCtl device with read and write access.
  2. Send an IOCTL request with a specific control code (e.g., 0x8123e048) and an input buffer of length 0x14.
  3. Provide an output buffer length larger than the input, such as 0x1000.
  4. Receive the response and extract the leaked kernel memory beyond the expected output size.

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 Kaspersky security software has a flaw where it can be tricked into sending back more data than it should, including parts of the computer's protected memory. Any user, even without special privileges, can run a program that asks the driver for this data and receive secret information from the operating system's core. This could help an attacker learn where things are in memory to launch further attacks.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Marcin 'Icewall' Noga

View all

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

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.