Skip to content
Memory corruption Write-up Advanced

(CVE-2024-43626) Windows Telephony Service Heap Out-of-Bounds Read/Write Leading to Elevation of Privilege

The Windows Telephony Service (tapisrv.dll) has a heap-based buffer overflow due to improper input validation. A local unprivileged attacker could exploit this to elevate privileges to SYSTEM.

starlabs.sg

Published on starlabs.sg

The Windows Telephony Service is a local service running on Windows by default, with its main logic implemented in tapisrv.dll inside a svchost.exe process. It exposes three RPC interfaces accessible to unprivileged clients:

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

Impact

A local unprivileged attacker could elevate privileges to SYSTEM, potentially executing code with the highest permissions.

What the attacker needed

Local access to the machine; unprivileged user account

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. The service does not properly check the size of data it receives, so a normal user on the same computer could send specially crafted data to take full control of the system.

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.