CVE-2025-21406

8.8 HIGH

📋 TL;DR

This vulnerability allows remote attackers to execute arbitrary code on Windows systems by exploiting a use-after-free flaw in the Telephony Service. It affects Windows systems with the Telephony Service enabled, potentially allowing attackers to gain SYSTEM privileges. The vulnerability requires the attacker to send specially crafted requests to the vulnerable service.

💻 Affected Systems

Products:
  • Windows Telephony Service
Versions: Windows 10, Windows 11, Windows Server 2016, Windows Server 2019, Windows Server 2022
Operating Systems: Windows
Default Config Vulnerable: ⚠️ Yes
Notes: Systems with Telephony Service enabled are vulnerable. The service may not be running by default on all Windows installations.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system compromise with SYSTEM privileges, enabling installation of malware, data theft, and lateral movement across the network.

🟠

Likely Case

Remote code execution leading to ransomware deployment, credential harvesting, or establishing persistent backdoors on affected systems.

🟢

If Mitigated

Limited impact due to network segmentation, restricted service permissions, and proper access controls preventing exploitation.

🌐 Internet-Facing: MEDIUM
🏢 Internal Only: HIGH

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires network access to the Telephony Service and knowledge of the vulnerability. No public exploits are currently available.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Apply the latest Windows security updates from Microsoft's February 2025 Patch Tuesday or later

Vendor Advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21406

Restart Required: Yes

Instructions:

1. Apply Windows Update from Settings > Update & Security > Windows Update. 2. Install all available security updates. 3. Restart the system when prompted.

🔧 Temporary Workarounds

Disable Telephony Service

Windows

Disable the Windows Telephony Service to prevent exploitation

sc config TapiSrv start= disabled
sc stop TapiSrv

Block Telephony Service Ports

Windows

Block network access to Telephony Service ports using firewall rules

netsh advfirewall firewall add rule name="Block Telephony Service" dir=in action=block protocol=TCP localport=3389,5060,5061

🧯 If You Can't Patch

  • Implement strict network segmentation to isolate systems with Telephony Service
  • Apply the principle of least privilege and restrict service permissions

🔍 How to Verify

Check if Vulnerable:

Check if Telephony Service is running: sc query TapiSrv

Check Version:

systeminfo | findstr /B /C:"OS Name" /C:"OS Version"

Verify Fix Applied:

Verify Windows Update history contains the February 2025 security updates

📡 Detection & Monitoring

Log Indicators:

  • Event ID 4688: New process creation from TapiSrv.exe
  • Event ID 4624: Logon attempts from Telephony Service context
  • Unusual network connections from TapiSrv.exe

Network Indicators:

  • Unusual traffic to Telephony Service ports (3389, 5060, 5061)
  • Suspicious RPC calls to Telephony Service

SIEM Query:

source="windows" AND (process_name="TapiSrv.exe" AND (parent_process!="services.exe" OR command_line CONTAINS "suspicious"))

🔗 References

📤 Share & Export