CVE-2023-6220
Published: 11 January 2024
Summary
CVE-2023-6220 is a high-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Piotnet Piotnet Forms. Its CVSS base score is 8.1 (High).
Operationally, ranked in the top 8.8% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
The Piotnet Forms plugin for WordPress is affected by an arbitrary file upload vulnerability (CWE-434) in versions up to and including 1.0.28. The flaw stems from insufficient file type validation inside the piotnetforms_ajax_form_builder function, which permits unauthenticated users to upload files of arbitrary types to the server.
An attacker with no credentials can reach the vulnerable AJAX endpoint over the network. Successful exploitation allows the upload of malicious files that may subsequently be executed, resulting in remote code execution with full control over confidentiality, integrity, and availability of the affected site. The CVSS 8.1 score reflects high impact tempered by high attack complexity.
Public references point to code changes between tags 1.0.26 and 1.0.29 in the ajax-form-builder.php file, indicating that the vendor addressed the validation issue in version 1.0.29. The Wordfence advisory recommends updating the plugin to a patched release as the primary mitigation. The associated EPSS score has remained low and essentially flat since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-58467
Vulnerability details
The Piotnet Forms plugin for WordPress is vulnerable to arbitrary file uploads due to insufficient file type validation in the 'piotnetforms_ajax_form_builder' function in versions up to, and including, 1.0.28. This makes it possible for unauthenticated attackers to upload arbitrary files…
more
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.