Skip to content
Info disclosure Advisory Advanced CVE-2024-38185

Microsoft CLIPSP.SYS License update out-of-bounds read vulnerability

Multiple out-of-bounds read vulnerabilities exist in the license update functionality of the Microsoft CLIPSP.SYS driver. A specially crafted license blob can lead to information disclosure, and an attacker can use the NtQuerySystemInformation function call to trigger this vulnerability.

Philippe Laulheret Follow

Originally disclosed on Cisco Talos

High 8.4 View original

Multiple out-of-bounds read vulnerabilities exists in the License update functionality of Microsoft CLIPSP.SYS 10.0.22621 Build 22621, 10.0.26080.1 and 10.0.26085.1. A specially crafted license blob can lead to information disclosure.

Philippe Laulheret, 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

The driver does not verify the size of a type 0x1 license blob before reading from it, leading to out-of-bounds reads.

Impact

An attacker could potentially leak sensitive information from kernel memory to userland, but a signature check would normally prevent tampering with a license file, though that check can also be bypassed.

What the attacker needed

Ability to supply a crafted license blob; bypass license signature check

The fix

The driver should verify the size of the type 0x1 license blob before reading from it.

How it was found

  1. Craft a license blob with a malformed type 0x1 entry that is truncated.
  2. Call NtQuerySystemInformation with the SystemPolicyInformation class and command_id 100 to install the license.
  3. The driver processes the truncated data and performs out-of-bounds reads.
  4. Use NtQuerySystemInformation with command_id 105 to generate a challenge, which may leak the out-of-bounds data.

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.

This report describes a flaw in a Windows driver that handles software licenses. The driver fails to check the size of a specific part of a license file, so it can read past the end of the data. This can leak sensitive information from the computer's memory.

What is Info disclosure?

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

More by Philippe Laulheret

View all

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