Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-12267

CVE-2024-12267: Contact Form 7 Path Traversal Vulnerability

CVE-2024-12267 is a path traversal flaw in Drag and Drop Multiple File Upload - Contact Form 7 that allows unauthenticated attackers to delete limited files. This article covers technical details, affected versions, and mitigation.

Published: April 8, 2026

CVE-2024-12267 Overview

The Drag and Drop Multiple File Upload – Contact Form 7 plugin for WordPress contains a critical arbitrary file deletion vulnerability in the dnd_codedropz_upload_delete() function. This flaw arises from insufficient file path validation, allowing unauthenticated attackers to delete arbitrary files on the server. All versions up to and including 1.3.8.5 are affected by this vulnerability.

While certain critical files like wp-config.php are protected from deletion (preventing direct remote code execution), the vulnerability still poses significant risks to website availability and integrity through the deletion of essential WordPress files, themes, plugins, and uploaded content.

Critical Impact

Unauthenticated attackers can remotely delete arbitrary files on affected WordPress installations, potentially causing denial of service, data loss, and website defacement without requiring any authentication.

Affected Products

  • Codedropz Drag and Drop Multiple File Upload – Contact Form 7 versions up to and including 1.3.8.5
  • WordPress installations using the affected plugin versions
  • All WordPress sites with the vulnerable plugin installed, regardless of Contact Form 7 configuration

Discovery Timeline

  • 2025-01-31 - CVE CVE-2024-12267 published to NVD
  • 2025-08-11 - Last updated in NVD database

Technical Details for CVE-2024-12267

Vulnerability Analysis

This vulnerability is classified as CWE-73 (External Control of File Name or Path), representing an input validation failure where user-controlled input is used to construct file paths without adequate sanitization. The dnd_codedropz_upload_delete() function fails to properly validate file paths before performing deletion operations.

The vulnerability allows attackers to manipulate file path parameters to traverse directories and target files outside the intended upload directory. Since the vulnerable function is accessible without authentication, any remote attacker can exploit this flaw to delete files on the server.

While the plugin implements some protections that prevent deletion of the core wp-config.php file (which would otherwise enable complete site compromise), many other critical files remain vulnerable. Attackers can still delete essential WordPress core files, plugin files, theme components, database backups, and user-uploaded content.

Root Cause

The root cause of CVE-2024-12267 lies in insufficient file path validation within the dnd_codedropz_upload_delete() function. The function accepts user-supplied input to determine which files to delete but fails to adequately sanitize or validate this input against directory traversal sequences (such as ../) or absolute paths.

This allows attackers to escape the intended upload directory and target files anywhere on the server filesystem where the web server has write permissions. The lack of proper input sanitization combined with missing authentication requirements creates a critical attack surface.

Attack Vector

The attack vector for this vulnerability is network-based, requiring no authentication and no user interaction. An attacker can craft malicious HTTP requests to the vulnerable WordPress endpoint, manipulating the file path parameter to target arbitrary files for deletion.

The attack flow typically involves:

  1. Identifying a WordPress site running the vulnerable plugin version
  2. Crafting a request to the file deletion endpoint with a manipulated file path
  3. Using directory traversal sequences to escape the upload directory
  4. Targeting critical application files, backups, or content for deletion

Since no authentication is required, this vulnerability can be exploited by any remote attacker who can reach the WordPress installation over the network.

Detection Methods for CVE-2024-12267

Indicators of Compromise

  • Unexpected file deletions in WordPress directories, particularly in wp-content/uploads/, wp-content/plugins/, or wp-content/themes/
  • HTTP requests to Contact Form 7 file upload endpoints containing directory traversal patterns (e.g., ../, ..%2f, %2e%2e/)
  • Web server logs showing DELETE operations or POST requests with suspicious file path parameters
  • Missing WordPress core files, plugin files, or theme components without corresponding legitimate updates

Detection Strategies

  • Monitor web server access logs for requests to dnd_codedropz_upload_delete endpoints with unusual parameters
  • Implement file integrity monitoring on critical WordPress directories to detect unexpected deletions
  • Deploy Web Application Firewall (WAF) rules to detect and block directory traversal attempts in request parameters
  • Review PHP error logs for file deletion failures that may indicate exploitation attempts

Monitoring Recommendations

  • Enable and centralize logging for all WordPress installations running Contact Form 7 plugins
  • Set up alerts for bulk file deletions or deletions outside of maintenance windows
  • Monitor for requests containing encoded directory traversal sequences (%2e%2e%2f, %252e%252e%252f)
  • Implement baseline monitoring for plugin file counts to detect unexpected removals

How to Mitigate CVE-2024-12267

Immediate Actions Required

  • Update the Drag and Drop Multiple File Upload – Contact Form 7 plugin to version 1.3.8.6 or later immediately
  • Audit affected WordPress installations for signs of exploitation or unexpected file deletions
  • Review web server access logs for suspicious activity targeting Contact Form 7 upload endpoints
  • Temporarily disable the plugin if immediate patching is not possible

Patch Information

The vendor has released a security patch addressing this vulnerability. The fix is available in the WordPress Plugin Changeset Update which implements proper file path validation in the dnd_codedropz_upload_delete() function.

Users should update to version 1.3.8.6 or later through the WordPress plugin update mechanism or by downloading directly from the WordPress plugin repository. For detailed vulnerability analysis, refer to the Wordfence Vulnerability Analysis.

Workarounds

  • Temporarily deactivate and remove the Drag and Drop Multiple File Upload – Contact Form 7 plugin until patching is possible
  • Implement WAF rules to block requests containing directory traversal patterns to Contact Form 7 endpoints
  • Restrict access to WordPress admin and plugin endpoints using .htaccess or server configuration
  • Enable file system write protection on critical WordPress directories where possible

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechCodedropz Drag And Drop Multiple File Upload

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-73
  • Technical References
  • Wordfence Vulnerability Analysis
  • Vendor Resources
  • WordPress Plugin Changeset Update
  • Related CVEs
  • CVE-2025-3515: Contact Form 7 File Upload RCE Flaw

  • CVE-2020-12800: Contact Form 7 File Upload RCE Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English