Description
The SureForms – Drag and Drop Form Builder for WordPress plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the delete_entry_files() function in all versions up to, and including, 1.7.3. 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).
CVSS breakdown
CVSS 3.1
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High
Affected products
- brainstormforce / SureForms – Drag and Drop Form Builder for WordPress0.0 – 0.0.13
- brainstormforce / SureForms – Drag and Drop Form Builder for WordPress1.0 – 1.0.6
- brainstormforce / SureForms – Drag and Drop Form Builder for WordPress1.1 – 1.1.1
- brainstormforce / SureForms – Drag and Drop Form Builder for WordPress1.2 – 1.2.4
- brainstormforce / SureForms – Drag and Drop Form Builder for WordPress1.3 – 1.3.1
- brainstormforce / SureForms – Drag and Drop Form Builder for WordPress1.4 – 1.4.4
- brainstormforce / SureForms – Drag and Drop Form Builder for WordPress1.5 – 1.5
- brainstormforce / SureForms – Drag and Drop Form Builder for WordPress1.6 – 1.6.4
- brainstormforce / SureForms – Drag and Drop Form Builder for WordPress1.7 – 1.7.3
References
- MISChttps://www.wordfence.com/threat-intel/vulnerabilities/id/b4658546-bf57-414b-a3c9-bf7a5692c5fe?source=cve
- MISChttps://wordpress.org/plugins/sureforms/
- MISChttps://plugins.trac.wordpress.org/browser/sureforms/trunk/admin/views/entries-list-table.php#L661
- MISChttps://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3319753%40sureforms&new=3319753%40sureforms&sfp_email=&sfph_mail=