Security experts have recently identified a critical vulnerability, CVE-2024-38213, which enables threat actors to bypass Windows’ Mark-of-the-Web protections through copy-and-paste operations. This vulnerability, referred to as “copy2pwn,” exposes users to significant risks when interacting with WebDAV shares, which can host malicious payloads disguised as harmless files. The copy2pwn exploit underscores the ongoing challenge of securing Windows environments against evolving cyber threats and highlights the necessity for proactive vulnerability research to address these weaknesses.
WebDAV, an extension of HTTP, allows for enhanced file sharing and versioning capabilities, but its integration into Windows poses security challenges. When WebDAV shares are mounted as paths in Windows Explorer, they can evade typical MotW protections, allowing malicious files to be copied and pasted without triggering the necessary security checks. Cybercriminals have increasingly targeted these shares, leveraging vulnerabilities to bypass built-in protections such as Windows Defender SmartScreen, raising alarms among cybersecurity professionals regarding the potential for widespread exploitation.
The Mark-of-the-Web feature is critical for ensuring that files downloaded from the internet undergo essential security checks. However, before a June 2024 security patch, files copied from WebDAV shares were not designated with the MotW label, rendering users vulnerable to untrusted content. Researchers noted a rise in attacks where malicious payloads were hosted on WebDAV shares, leading to the identification of numerous vulnerabilities, some of which were previously disclosed as zero-days.
In light of this vulnerability, users are advised to exercise caution when accessing WebDAV shares and be vigilant when copying and pasting files from these sources. Organizations and individuals should implement best practices to minimize risks associated with clipboard hijacking and pastejacking, thereby enhancing their overall cybersecurity posture in a landscape marked by evolving threats.
Reference: