copy2pwn
CVE-2024-38213, also known as copy2pwn, is a Windows Mark of the Web security feature bypass affecting files copied from WebDAV shares through Windows Explorer. Clipboard copying and drag-and-drop can place files on the local system without the internet-origin marking required to trigger dependent security protections. An incomplete initial fix incorrectly treated a successful CoCreateInstance return value as failure in _InitializeZoneIdentifierInterfaces, skipping IInternetSecurityManager initialization. Consequently, _StampMotwOnDestFileIfNeeded could not perform the MapUrlToZone check and omitted the marking. The vulnerability has been exploited by DarkGate operators and Sandworm-linked UAC-0212 campaigns.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Files copied from untrusted WebDAV shares can receive excessive trust from Windows Explorer, SmartScreen, Microsoft Defender, and other controls that depend on Mark of the Web. This bypass suppresses applicable origin-based warnings or restrictions and facilitates malware delivery. It does not independently execute code or elevate privileges; subsequent execution of a malicious file can compromise the system in the user's security context.
If you can’t patch tonight, do this now.
Avoid copying or opening files from untrusted WebDAV shares, particularly files reached through unsolicited document links. Use endpoint protection capable of detecting malicious files and execution behavior independently of Mark of the Web. Do not treat the absence of an internet-origin warning as evidence that a file is trustworthy; drag-and-drop may display a warning while still failing to apply the marking.
Patch, then assume compromise.
Install current Microsoft security updates containing the corrected fix for the affected Windows release. Do not assume the initial 2024 update fully resolved the issue: testing of systems updated through August 2024 found the bypass persisted on the examined versions other than Windows 11 and Windows Server 2022. Microsoft subsequently corrected the erroneous success check to branch on a failing HRESULT rather than zero. A logically equivalent 0patch micropatch was also developed for Windows 7, Windows Server 2008 R2, and several Windows 10 versions; exact applicable Microsoft update identifiers are not available here.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
14 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.