CVE-2024-26230: Windows Telephony Service - It's Got Some Call-ing Issues (Elevation of Privilege)
A use-after-free in the Windows Telephony Service's FreeDialogInstance function allows an attacker who can manipulate the registry to control memory allocation and create a fake object, triggering the UAF in TUISPIDLLCallback. This leads to code execution, bypassing CFG and loading a malicious DLL to escalate privileges to SYSTEM via PrintSpoofer.
starlabs.sg
Published on starlabs.sg
CVE-2024-26230 is a critical vulnerability found in the Windows Telephony Service (TapiSrv), which can lead to an elevation of privilege on affected systems. The exploit leverages a use-after-free in FreeDialogInstance.
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
Impact
An attacker could gain code execution and escalate privileges to SYSTEM, but the text does not specify whether mitigations like CFG were fully bypassed or if the exploit is limited to certain conditions.
What the attacker needed
Ability to manipulate the registry; local access to the system
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 background service that handles phone calls. A use-after-free means the program keeps using memory after it has been freed, so an attacker can put their own data there and trick the program into running their code. The attacker first changes a registry setting to control how memory is allocated, then triggers the bug to run code with higher privileges.
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.