CVE-2024-38112
High · 7.5 CISA KEVCVSS
7.5
EPSS
84.2%
Published
Jul 9, 2024
CISA due date
Jul 30, 2024
Cloudanix analysis
Attackers can trick people on unpatched Windows systems into trusting malicious links or files that may lead to stolen passwords or malware.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- High
- Impact
- Full Compromise
- Component
- Application
- Class
- Other
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
CVE-2024-38112 is a Windows MSHTML Platform spoofing vulnerability that can be triggered remotely when a user opens attacker-controlled content, commonly an Internet Shortcut or link that invokes MSHTML through legacy protocol handling. The flaw allows a malicious site or file to misrepresent the origin, security context, or trustworthiness of rendered content and can be used as part of a phishing or malware-delivery chain. Although user interaction is required and exploitation complexity is rated high, the vulnerability has been exploited in the wild and affects supported and legacy Windows desktop and server releases that include MSHTML components.
Why it matters to the business
Successful exploitation can allow attackers to trick users into interacting with malicious content that appears legitimate, leading to credential theft, malware installation, data exposure, lateral movement, or business disruption. Because this vulnerability is listed in CISA KEV, has a high EPSS score, and has confirmed active exploitation, unpatched Windows endpoints and servers represent a material operational risk even if Internet Explorer is not actively used by the organization. CISA required remediation by 2024-07-30 for covered organizations, so any remaining exposure should be treated as overdue and high priority.
How an attack unfolds
An attacker prepares a malicious web resource or Internet Shortcut that abuses MSHTML protocol handling to make hostile content appear more trustworthy or to force rendering through legacy MSHTML components. The attacker delivers the lure by phishing email, compressed attachment, malicious download, compromised website, or messaging platform. When the victim opens the shortcut or link, Windows invokes the vulnerable MSHTML handling path. The attacker-controlled content is then presented with misleading origin or trust signals, increasing the chance that the victim enters credentials, downloads a payload, enables execution, or follows additional attacker instructions. In observed real-world exploitation, this class of issue has been used as an initial-access and malware-delivery technique rather than as a standalone unauthenticated wormable vulnerability.
How to fix it
Apply Microsoft security updates released on or after the July 2024 Patch Tuesday for all affected Windows versions, including Windows 10, Windows 11, and Windows Server 2008/2012/2016/2019/2022 variants. Where systems cannot be patched immediately, reduce exposure by blocking or quarantining Internet Shortcut files from untrusted sources, restricting legacy protocol handlers where operationally feasible, disabling unnecessary IE/IE-mode usage, enforcing attachment detonation and web isolation for unknown links, and limiting user ability to execute downloaded content. Treat unsupported Windows versions as requiring upgrade, isolation, or compensating controls because they may not receive complete protection.
How to confirm the fix worked
Confirm that each Windows endpoint and server has installed the Microsoft security update level that includes the July 2024 fix or a later cumulative update. Use centralized patch inventory, vulnerability scanners, endpoint management tooling, and Windows Update history to verify compliance across all affected product versions. Validate that email and web controls detect or block suspicious .url/.website/.lnk attachments and shortcut files containing MSHTML/MHTML-style protocol invocations. For high-risk systems, test with a benign proof-of-concept-style shortcut in a controlled lab only to confirm that security controls alert on or block suspicious protocol-handler usage; do not use live exploit infrastructure.
Typical attack path
- Attacker identifies target users on Windows versions that have not received the July 2024 or later security updates.
- Attacker creates a malicious link, web page, or Internet Shortcut file that invokes MSHTML through legacy protocol handling such as MHTML/URL shortcut behavior.
- Attacker delivers the lure through phishing email, archive attachment, malicious advertisement, compromised website, or instant messaging.
- User opens the malicious shortcut or link.
- Windows routes the content through vulnerable MSHTML handling and displays attacker-controlled content with spoofed or misleading trust indicators.
- Victim is induced to submit credentials, download and run malware, or continue through a second-stage social-engineering flow.
- Attacker uses stolen credentials or delivered malware for persistence, command and control, data theft, or lateral movement.
How to detect it
Investigate endpoint, email, proxy, DNS, and EDR telemetry for evidence that users received or opened malicious Internet Shortcut or link files that invoked MSHTML/MHTML behavior. Key sources include Windows Security logs, Sysmon process creation events, EDR process trees, email gateway attachment logs, browser download history, proxy URL logs, DNS queries, and file creation telemetry in Downloads, Temp, email attachment cache, and archive-extraction directories. Look for .url or .website files containing mhtml: or !x-usc: strings, unusual launches of iexplore.exe on modern Windows systems, Microsoft Edge IE-mode launches tied to externally delivered shortcut files, and browser or MSHTML-related processes spawning script interpreters, archive tools, LOLBins, or unknown executables. Correlate any such activity with subsequent credential prompts, outbound connections to newly registered domains, malware detections, persistence creation, and unusual authentication activity. Because exploitation depends on social engineering, also review phishing reports and quarantined messages containing Internet Shortcut attachments or links that redirect through legacy protocol handlers.
- mhtml:
- !x-usc:
- URL=mhtml:
- .url
- InternetShortcut
- iexplore.exe
- mshtml.dll
- msedge.exe --ie-mode
- Microsoft\Windows\INetCache
- AppData\Local\Microsoft\Windows\INetCache
- AppData\Local\Temp
- Zone.Identifier
- [InternetShortcut]
What your security team should do
- Immediately identify Windows assets missing July 2024 or later cumulative security updates and prioritize remediation of user workstations, jump hosts, RDS/VDI systems, and internet-facing or high-privilege administrative endpoints.
- Treat this as an actively exploited KEV issue; escalate overdue remediation because the CISA due date was 2024-07-30 and the EPSS probability is high.
- Hunt for suspicious Internet Shortcut files and process executions involving mhtml:, mshtml, iexplore.exe, msedge.exe IE-mode behavior, or .url files delivered by email or downloaded from the internet.
- Block or sandbox inbound .url, .website, and suspicious .lnk files from external email and web downloads where business processes allow.
- Review phishing telemetry, EDR alerts, proxy logs, and DNS logs for users who opened suspicious shortcuts or accessed newly registered or low-reputation domains around the time of shortcut execution.
- Increase monitoring for credential theft and malware staging following suspected exploitation, including unusual browser child processes, archive extraction, script execution, and outbound command-and-control traffic.
- For systems that cannot be patched, isolate them from email/web access, restrict interactive browsing, and apply application control to prevent execution of downloaded payloads.
The record
Windows MSHTML Platform Spoofing Vulnerability
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|