Everest Forms <= 3.6.4 - Unauthenticated File Deletion via 'everest_forms[form_fields][<id>]' Parameter via Signature-Keyed Text Field
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| wpeverestEverest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI |
≤ 3.6.4→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
The Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI plugin for WordPress is vulnerable to File Deletion in all versions up to, and including, 3.6.4 This is due to the delete_entry_files() function gating file cleanup on a loose preg_match('/signature_/', $meta_key) substring check against the entry's meta-key rather than verifying the actual field type, which allows an ordinary Text field whose label begins with "Signature" to generate a qualifying meta-key such as signature_1 — causing the attacker-controlled value submitted via everest_forms[form_fields][] to be stored verbatim and later passed to wp_delete_file(). This makes it possible for unauthenticated attackers to delete files within the wp-content/uploads/ directory on the server, as safe_delete_file() enforces a realpath boundary that prevents deletion of files outside that directory such as wp-config.php. Exploitation requires an administrator to permanently delete the attacker's submitted entry, as the unauthenticated attacker cannot trigger the deletion themselves; the targeted file must also reside within wp-content/uploads/. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web wordfence.com
- web plugins.trac.wordpress.org
- web plugins.trac.wordpress.org
- web plugins.trac.wordpress.org
- web plugins.trac.wordpress.org
- web plugins.trac.wordpress.org
- web plugins.trac.wordpress.org
- web plugins.trac.wordpress.org
- web github.com