Chatterbug Forms arbitrary file deletion in uploaded file cleanup
sameh101 Chatterbug Forms – Fast, Flexible WordPress Form Builder
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| sameh101 Chatterbug Forms – Fast, Flexible WordPress Form Builder |
| No fix yet |
Original description
The Chatterbug Forms – Fast, Flexible WordPress Form Builder plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the cbforms_delete_uploaded_files function in all versions up to, and including, 1.1 This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php). Exploitation requires an administrator to delete the attacker-planted form entry, and the attacker must know or be able to guess the absolute path of a file writable by the PHP process. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
From the CVE record · Wordfence