CVE DatabaseCVE-2022-34713
한국어 권고문 →
CVE-2022-347137.8/HIGHCISA KEV

Microsoft Windows Support Diagnostic Tool (MSDT) Remote Code Execution Vulnerability (CVE-2022-34713, Dogwalk)

⚡ Jump to Patch
Affected Vendors
microsoft
Affected Components
windows, msdt
Published Date
2022-08-09
CVSS v3.1
7.8
HIGH
EPSS (30d)
67.8%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Microsoft Windows 7, 8.1, 10, 11 and Windows Server 2008, 2012, 2016, 2019, 2022 supporting the MSDT protocol

Impact

Successful exploitation allows remote attackers to execute arbitrary code on the target system when a user opens a specially crafted '.diagcab' file

Mitigation

Apply the official Microsoft security updates immediately, or disable the MSDT URL protocol handler as a temporary workaround

Affected Products & Version Scope

All supported versions of Microsoft Windows and Windows Server with the MSDT protocol enabled

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Apply the official cumulative security updates provided by Microsoft. You can verify and force the installation of the required updates using PowerShell.

powershell
# Check if the required security update (e.g., KB5016616) is installed
Get-HotFix -Id KB5016616, KB5016629 -ErrorAction SilentlyContinue

# Force Windows Update installation if missing
Install-Module PSWindowsUpdate -Force -SkipPublisherCheck
Get-WindowsUpdate -AcceptAll -Install -AutoReboot

2. Temporary Workaround & Hardening Configuration

If patching cannot be applied immediately, disable the MSDT URL protocol handler to mitigate the attack vector.

cmd
# Backup and delete the MSDT URL protocol registry key (Run as Administrator)
reg export HKEY_CLASSES_ROOT\ms-msdt ms-msdt-backup.reg
reg delete HKEY_CLASSES_ROOT\ms-msdt /f

3. Log Audit & IoC Verification Commands

Use the following PowerShell script to inspect Windows Security Logs for suspicious process creation events involving MSDT.

powershell
# Query Security Event Log (Event ID 4688) for suspicious msdt.exe execution
Get-WinEvent -FilterHashtable @{
    LogName='Security';
    Id=4688
} -ErrorAction SilentlyContinue | Where-Object {
    $_.Message -like '*msdt.exe*'
} | Select-Object TimeCreated, Id, Message | Format-List
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
This vulnerability is actively exploited in the wild; immediately apply the official Microsoft cumulative updates or disable the MSDT protocol handler.

Block Kernel Privilege Escalation & Ransomware Payloads Before You Can Reboot

Protect unpatched Windows, Linux, and macOS workloads against in-memory exploitation and lateral movement with autonomous EDR.

100% MITRE ATT&CK Detection · 1-Click Rollback

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2022-34713, commonly known as 'Dogwalk') is a path traversal and remote code execution vulnerability in the Microsoft Windows Support Diagnostic Tool (MSDT). The root cause lies in MSDT's failure to properly sanitize file paths when unpacking diagnostic cabinet (.diagcab) files, allowing directory traversal sequences to escape the intended temporary directory.

2. Exploitation Mechanics & Attack Scenario

An attacker exploits this vulnerability by crafting a malicious '.diagcab' file containing directory traversal sequences and an executable payload. The attacker then delivers this file via email phishing or malicious web downloads. When the victim opens the file, MSDT extracts the payload into a sensitive system directory, such as the user's Startup folder, instead of a secure temporary folder. Upon the next system reboot or user login, the dropped executable runs automatically, granting the attacker code execution under the context of the logged-in user.

3. Infrastructure & Business Impact

With a CVSS score of 7.8 (High) and active exploitation confirmed by its inclusion in the CISA KEV catalog, this vulnerability poses a severe threat to enterprise endpoints and servers. If exploited successfully, attackers can gain initial access, escalate privileges, move laterally across the network, deploy ransomware, or exfiltrate sensitive corporate data, leading to severe operational disruption.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2022-34713)

FAQ

Q1. How critical is CVE-2022-34713 and is it actively exploited in the wild?

CVE-2022-34713 is rated CVSS 7.8 (HIGH) with a 30-day EPSS exploitation probability of 67.8%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2022-34713?

Primary impacted vendors include microsoft across windows, msdt. Scope summary: All supported versions of Microsoft Windows and Windows Server with the MSDT protocol enabled

Q3. What temporary mitigations or workarounds exist for CVE-2022-34713 before patching?

[Mitigation] Apply the official Microsoft security updates immediately, or disable the MSDT URL protocol handler as a temporary workaround Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2022-34713

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (microsoft)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2022-34713 Microsoft Windows Support Diagnostic Tool (MSDT) Remote Code Execution Vulnerability (CVE-2022-34713, Dogwalk) (CVSS 7.8) - Patch & Workaround | CVE Pulse