CVE DatabaseCVE-2024-38112
한국어 권고문 →
CVE-2024-381127.5/HIGHCISA KEVCWE-451

Windows MSHTML Platform Spoofing Vulnerability (CVE-2024-38112) Technical Analysis and Mitigation Guide

⚡ Jump to Patch
Affected Vendors
microsoft
Affected Components
windows, mshtml
Published Date
2024-07-09
CVSS v3.1
7.5
HIGH
EPSS (30d)
84.2%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

MSHTML (Internet Explorer) engine embedded in all supported versions of Windows 10, 11, and Windows Server

Impact

Attackers can bypass security warnings via specially crafted Internet Shortcut (.url) files, leading to arbitrary code execution and complete system compromise

Mitigation

Apply the latest Microsoft cumulative security updates immediately and restrict the execution of untrusted .url and .lnk files

Affected Products & Version Scope

All supported versions of Windows 10, Windows 11, and Windows Server 2008 through 2022 containing the MSHTML engine

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Deploy the July 2024 (or later) cumulative security updates provided by Microsoft. You can force the update installation using PowerShell.

powershell
# Install Windows Update module and force install the required cumulative updates
Install-Module PSWindowsUpdate -Force -Verbose
Get-WindowsUpdate -KBArticleID KB5040442, KB5040437 -Install -AcceptAll -AutoReboot

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, mitigate the risk by reassociating .url files or blocking external protocol handlers via registry modifications.

powershell
# Temporarily reassociate .url files to open with Notepad to prevent automatic execution
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Classes\InternetShortcut\shell\Open\command' -Name '(Default)' -Value 'notepad.exe %1'

3. Log Audit & IoC Verification Commands

Scan the environment for suspicious internet shortcut files containing the 'mhtml' protocol handler to identify potential exploitation attempts.

powershell
# Scan user directories for malicious .url files containing the 'mhtml' scheme
Get-ChildItem -Path 'C:\Users\' -Filter '*.url' -Recurse -ErrorAction SilentlyContinue | 
Select-String -Pattern 'mhtml:' | 
Format-Table Path, Line
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 Microsoft's July 2024 cumulative updates to secure your endpoints.

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

CVE-2024-38112 is a high-severity spoofing and remote code execution vulnerability existing within the Windows MSHTML platform. Although Internet Explorer (IE) has been officially retired, its core rendering engine, MSHTML, remains integrated within Windows for legacy compatibility. The root cause lies in improper input validation when handling specific protocol handlers (such as 'mhtml:'), allowing an attacker to force Windows to launch the legacy Internet Explorer instead of modern browsers, bypassing modern security boundaries.

2. Exploitation Mechanics & Attack Scenario

Threat actors actively exploit this vulnerability by distributing malicious Internet Shortcut (.url) files. The typical attack vector unfolds as follows:

  • The attacker crafts a '.url' file containing a crafted URL pointing to an attacker-controlled server using the 'mhtml:' scheme (e.g., 'mhtml:http://[attacker-domain]/payload.html').
  • The file is delivered to the target via phishing emails or malicious downloads.
  • When the victim double-clicks the shortcut, Windows bypasses default browser settings (like Edge or Chrome) and invokes the legacy MSHTML engine in the background.
  • The MSHTML engine processes the malicious payload, presenting spoofed dialogue boxes or executing arbitrary application files (.hta, .exe) without proper security warnings.

3. Infrastructure & Business Impact

This vulnerability is actively exploited in the wild and is cataloged in CISA's Known Exploited Vulnerabilities (KEV) list, with an EPSS score exceeding 0.84. Successful exploitation allows threat actors to gain initial access to corporate endpoints, execute ransomware, or perform lateral movement within the enterprise network, posing a severe threat to business continuity and data integrity.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2024-38112)

FAQ

Q1. How critical is CVE-2024-38112 and is it actively exploited in the wild?

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

Q2. Which vendors and products are affected by CVE-2024-38112?

Primary impacted vendors include microsoft across windows, mshtml. Scope summary: All supported versions of Windows 10, Windows 11, and Windows Server 2008 through 2022 containing the MSHTML engine

Q3. What temporary mitigations or workarounds exist for CVE-2024-38112 before patching?

[Mitigation] Apply the latest Microsoft cumulative security updates immediately and restrict the execution of untrusted .url and .lnk files 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-2024-38112

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-2024-38112 Windows MSHTML Platform Spoofing Vulnerability (CVE-2024-38112) Technical Analysis and Mitigation Guide (CVSS 7.5) - Patch & Workaround | CVE Pulse