RULE(RULE ID:338048)

Rule General Information
Release Date: 2024-05-29
Rule Name: WordPress Plugin Hash Form - Drag & Drop Form Builder Arbitrary File Upload Vulnerability (CVE-2024-5084)
Severity:
CVE ID:
Rule Protection Details
Description: The Hash Form – Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the 'file_upload_action' function in all versions up to, and including, 1.1.0. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible.
Impact: Attackers can upload viruses, Trojans, WebShell, other malicious scripts or pictures containing scripts to the server, and attackers can use these files for subsequent attacks.
Affected OS: Windows, Linux, Others
Reference: https://plugins.trac.wordpress.org/browser/hash-form/trunk/admin/classes/HashFormBuilder.php#L764
https://plugins.trac.wordpress.org/changeset/3090341/
https://www.wordfence.com/threat-intel/vulnerabilities/id/eef9e2fa-d8f0-42bf-95ac-ee4cafff0b14?source=cve
Solutions
Refer to the announcement or patch by the vendor: https://www.wordfence.com/threat-intel/vulnerabilities/id/eef9e2fa-d8f0-42bf-95ac-ee4cafff0b14