Skip to content
Memory corruption Write-up Advanced

(CVE-2020-0634) Windows CLFS UAF Memory Corruption Vulnerability

The Windows Common Log File System driver mishandled objects in memory, creating a use-after-free condition. An attacker who could log on and run a crafted application could exploit this to run processes with elevated privileges.

starlabs.sg

Published on starlabs.sg

An elevation of privilege vulnerability exists when the Windows Common Log File System (CLFS) driver improperly handles objects in memory. An attacker who successfully exploited this vulnerability could run processes in an elevated context.

The author, on starlabs.sg

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a use-after-free in the CLFS driver, where an object was accessed after being freed because of improper memory handling.

Impact

An attacker who logs on and runs a crafted application could run processes in an elevated context, gaining higher privileges on the system.

What the attacker needed

Log on to the system; run a crafted application

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 write-up has not been written yet. The Original tab links to the source.

A driver is a low-level program that helps Windows talk to hardware and manage system resources. This driver, CLFS, made a mistake when cleaning up memory: it could still refer to a piece of memory after freeing it, which is called a use-after-free. A logged-in attacker could run a small program that takes advantage of this mistake to gain higher permissions on the machine.

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.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.