Unauthenticated arbitrary file upload/delete in WP Cost Estimation (<= 9.642) via AJAX actions
WP Cost Estimation (Payment Forms Builder) plugin for WordPress versions up to and including 9.642 is vulnerable to arbitrary file upload and file deletion due to missing file type validation in the lfb_upload_form and lfb_removeFile AJAX actions. This allows unauthenticated attackers to upload arbitrary files to the server (potentially enabling remote code execution depending on server configuration and file placement/execution) and to delete server files, including sensitive configuration such as database configuration files; the description notes attackers could delete database configuration files and subsequently upload their own database files.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Unauthenticated remote attackers can upload arbitrary files to the web server and delete arbitrary files. This can lead to full site compromise (including potential remote code execution), destruction or tampering of application/configuration files (including database configuration), and loss of availability/integrity/confidentiality of site data.
If you can’t patch tonight, do this now.
If immediate upgrading is not possible, restrict or disable access to the vulnerable AJAX actions (lfb_upload_form and lfb_removeFile), e.g., via WAF rules or server-side request filtering, and limit unauthenticated access to wp-admin/admin-ajax.php where feasible without breaking required site functionality.
Patch, then assume compromise.
Upgrade the WP Cost Estimation plugin to a version newer than 9.642 that addresses the vulnerable AJAX actions by implementing proper file type validation (and associated security checks) for lfb_upload_form and lfb_removeFile.
No public exploits tracked yet. Mallory keeps watching.
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.