The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-5084

CVE-2024-5084: Hash Form WordPress Plugin RCE Vulnerability

CVE-2024-5084 is a remote code execution vulnerability in Hash Form WordPress plugin caused by arbitrary file upload flaws. Unauthenticated attackers can exploit this to upload malicious files. This article covers technical details, affected versions, impact, and mitigation strategies.

Updated: January 22, 2026

CVE-2024-5084 Overview

The Hash Form – Drag & Drop Form Builder plugin for WordPress contains a critical arbitrary file upload vulnerability due to missing file type validation in the file_upload_action function. This vulnerability affects all versions up to and including 1.1.0, allowing unauthenticated attackers to upload arbitrary files to the affected site's server, potentially leading to remote code execution.

Critical Impact

Unauthenticated attackers can upload malicious files such as web shells to WordPress servers, enabling complete site takeover and remote code execution without any authentication.

Affected Products

  • hashthemes hash_form versions up to and including 1.1.0
  • WordPress installations using the vulnerable Hash Form plugin
  • Sites utilizing the Drag & Drop Form Builder functionality with file upload features

Discovery Timeline

  • 2024-05-23 - CVE-2024-5084 published to NVD
  • 2025-02-27 - Last updated in NVD database

Technical Details for CVE-2024-5084

Vulnerability Analysis

This vulnerability is classified as CWE-434 (Unrestricted Upload of File with Dangerous Type). The flaw exists in the file_upload_action function within the Hash Form plugin, which fails to properly validate the type of files being uploaded through form submissions. The lack of file type validation creates a direct path for attackers to upload executable files, including PHP web shells, to the WordPress uploads directory.

The vulnerability is particularly dangerous because it requires no authentication. Any remote attacker can craft a malicious request to the vulnerable endpoint and upload arbitrary files. Once a malicious PHP file is uploaded, the attacker can execute it by directly accessing the uploaded file's URL, achieving full remote code execution on the target server.

Root Cause

The root cause of this vulnerability is the absence of file type validation in the file_upload_action function located in HashFormBuilder.php. The function processes file uploads without checking file extensions, MIME types, or content signatures. This allows any file type, including executable scripts like .php, .phtml, or other server-side code files, to be uploaded and stored on the server.

Proper file upload security requires implementing multiple layers of validation including extension whitelisting, MIME type verification, and content inspection. The vulnerable code bypasses all these security controls, accepting whatever file the user submits.

Attack Vector

The attack is executed remotely over the network without requiring any authentication or user interaction. An attacker can target any WordPress site running the vulnerable Hash Form plugin by:

  1. Identifying the vulnerable endpoint associated with file uploads
  2. Crafting a malicious HTTP request containing a PHP web shell or other malicious file
  3. Submitting the file through the file_upload_action function
  4. Accessing the uploaded file directly via the WordPress uploads URL to execute arbitrary code

The vulnerability in the file_upload_action function within HashFormBuilder.php allows attackers to bypass file type restrictions entirely. Without proper validation, malicious files such as PHP web shells can be uploaded directly to the server. Once uploaded, these files can be executed by accessing them through the WordPress uploads directory, granting the attacker full control over the web server. For technical details, refer to the WordPress Plugin Code Review.

Detection Methods for CVE-2024-5084

Indicators of Compromise

  • Unexpected PHP files or web shells in the WordPress uploads directory (typically wp-content/uploads/)
  • Suspicious HTTP POST requests to Hash Form file upload endpoints containing executable file extensions
  • Unusual process spawning from the web server (Apache/Nginx) indicating web shell activity
  • Modified or newly created files in plugin directories with recent timestamps
  • Anomalous outbound network connections from the web server

Detection Strategies

  • Monitor web server access logs for POST requests to Hash Form upload handlers with suspicious file extensions (.php, .phtml, .phar)
  • Implement file integrity monitoring on the WordPress uploads directory to detect new executable files
  • Deploy web application firewall (WAF) rules to block upload requests containing dangerous file types
  • Enable WordPress security plugins that scan for malicious file uploads and web shells

Monitoring Recommendations

  • Configure real-time alerting for any PHP file creation in upload directories
  • Implement log correlation to identify attack patterns targeting form upload functionality
  • Monitor for indicators of web shell activity such as unusual command execution or file access patterns
  • Review web server error logs for failed code execution attempts that may indicate reconnaissance

How to Mitigate CVE-2024-5084

Immediate Actions Required

  • Update the Hash Form plugin to version 1.1.1 or later immediately
  • Audit the WordPress uploads directory for any suspicious or unexpected PHP files
  • Review web server logs for evidence of exploitation attempts
  • Consider temporarily disabling the Hash Form plugin until patched if an immediate update is not possible
  • Implement file type restrictions at the web server level as an additional defense layer

Patch Information

HashThemes has released a security patch addressing this vulnerability. The fix implements proper file type validation in the file_upload_action function to prevent arbitrary file uploads. Administrators should update to the patched version through the WordPress plugin repository. The patch details can be reviewed in the WordPress Changeset Log.

Workarounds

  • Disable the file upload functionality in Hash Form until the plugin can be updated
  • Implement server-level file upload restrictions using .htaccess rules to prevent PHP execution in upload directories
  • Deploy a Web Application Firewall (WAF) with rules to block malicious file upload attempts
  • Restrict file upload permissions at the operating system level for the web server user
bash
# Prevent PHP execution in WordPress uploads directory
# Add to .htaccess in wp-content/uploads/
<FilesMatch "\.(?:php|phtml|php[0-9]+|phar)$">
    Require all denied
</FilesMatch>

# Alternative Apache configuration
<Directory "/var/www/html/wp-content/uploads">
    php_admin_flag engine off
</Directory>

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechHashthemes Hash Form

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability92.52%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-434
  • Technical References
  • WordPress Plugin Code Review

  • Wordfence Vulnerability Analysis
  • Vendor Resources
  • WordPress Changeset Log
  • Latest CVEs
  • CVE-2026-35467: Browser API Key Information Disclosure

  • CVE-2026-35466: cveInterface.js XSS Vulnerability

  • CVE-2026-30252: ZenShare Suite XSS Vulnerability

  • CVE-2026-30251: ZenShare Suite v17.0 XSS Vulnerability
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