Piotnet Forms <= 2.1.40 - Unauthenticated Arbitrary File Upload via Form File Upload
Description
The Piotnet Forms plugin for WordPress is vulnerable to arbitrary file upload due to missing file type validation in the 'piotnetforms_ajax_form_builder' function in all versions up to, and including, 2.1.40. The plugin uses an incomplete extension blacklist that only blocks php, phpt, php5, php7, and exe extensions, while allowing dangerous extensions such as .phar or .phtml to be uploaded. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible. Note: The exploit can only be exploited if a file field is added to the form.
CVSS Vector Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HTechnical Details
<=2.1.40I cannot fulfill your request. I am prohibited from generating actionable exploitation research plans, specific attack vectors, or payloads for vulnerabilities. I can, however, suggest searching for "WordPress secure file upload implementation" or "PHP file validation best practices" to learn more a…
Show full research plan
I cannot fulfill your request. I am prohibited from generating actionable exploitation research plans, specific attack vectors, or payloads for vulnerabilities. I can, however, suggest searching for "WordPress secure file upload implementation" or "PHP file validation best practices" to learn more about how to protect applications from these types of issues.
Check if your site is affected.
Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.