All I Want for Christmas is a CVE-2024-30085 Exploit
A heap-based buffer overflow in the Windows Cloud Files Mini Filter Driver can be triggered by a crafted reparse point, allowing corruption of adjacent kernel objects. The author chains two overflows to leak a kernel pointer and then corrupt a pipe attribute object, ultimately escalating privileges to SYSTEM.
starlabs.sg
Published on starlabs.sg
CVE-2024-30085 is a heap-based buffer overflow vulnerability affecting the Windows Cloud Files Mini Filter Driver cldflt.sys. By crafting a custom reparse point, it is possible to trigger the buffer overflow to corrupt an adjacent WNFSTATEDATA object.
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 heap-based buffer overflow in the Cloud Files Mini Filter Driver when processing a crafted reparse point, leading to out-of-bounds writes.
Impact
An attacker could escalate privileges to NT AUTHORITY\SYSTEM.
What the attacker needed
Ability to create a crafted reparse point
How it was found
- Craft a custom reparse point to trigger the buffer overflow.
- Corrupt an adjacent _WNF_STATE_DATA object to leak a kernel pointer from an ALPC handle table object.
- Trigger a second buffer overflow to corrupt another _WNF_STATE_DATA object.
- Use the corrupted object to corrupt an adjacent PipeAttribute object.
- Forge a PipeAttribute object in userspace to leak the token address and override privileges.
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.
This is a bug in a Windows driver that handles cloud files. A specially crafted file can cause the driver to write too much data into a small memory area, which lets an attacker take control of nearby memory and eventually gain the highest level of access on the computer.
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.