CVE-2024-6313
Published: 09 July 2024
Summary
CVE-2024-6313 is a critical-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Wordpress (inferred from references). Its CVSS base score is 9.8 (Critical).
Operationally, ranked in the top 3.9% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
The Gutenberg Forms plugin for WordPress, in versions up to and including 2.2.9, contains an arbitrary file upload vulnerability (CWE-434) in the upload handling logic. The affected code in Bucket.php and email.php allows users to specify permitted file types without sufficient server-side validation or restriction, enabling uploads of any file to the site server.
Unauthenticated attackers can exploit the flaw over the network by submitting crafted form uploads that bypass the type checks. Successful exploitation grants the ability to place arbitrary files, including web shells, on the target server and achieve remote code execution with full confidentiality, integrity, and availability impact, as reflected in the CVSS 9.8 score.
EPSS for the CVE rose from a low baseline to a peak of 0.2971 on 2025-12-11 before receding to the current value of 0.2319, indicating measurable post-disclosure exploitation interest. The referenced advisories and code traces from Wordfence and the WordPress plugin repository highlight the vulnerable functions but do not detail a specific patched version or mitigation steps beyond the need to address the upload controls.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-47429
Vulnerability details
The Gutenberg Forms plugin for WordPress is vulnerable to arbitrary file uploads due to the users can specify the allowed file types in the 'upload' function in versions up to, and including, 2.2.9. This makes it possible for unauthenticated attackers…
more
to upload arbitrary files on the affected site's server which may make remote code execution possible.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Requiring identifiable owners for portable devices reduces the attack surface for unrestricted uploads of dangerous file types via anonymous media.
Dangerous file uploads can be detonated in the chamber to determine malice before any production write or execution occurs.
Prevents unrestricted writing of arbitrary or malicious firmware by keeping hardware write-protect enabled except under tightly controlled manual procedures.
Scans files from external sources on download/open/execute, blocking unrestricted uploads of dangerous file types.