Descrizione
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][<field_id>]` 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.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 6.5, EPSS 0.7% (percentile 49).
Versioni da aggiornare
Il record non riporta ancora i prodotti e le versioni corrette (analisi NVD in corso). Consultare l'advisory del vendor nei riferimenti.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Filtrare le sequenze di path traversal sul reverse proxy/WAF ed eseguire il servizio con permessi minimi sul filesystem.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Riferimenti
- Riferimentohttps://github.com/wpeverest/everest-forms/commit/4e195342
- Riferimentohttps://plugins.trac.wordpress.org/browser/everest-forms/tags/3.6.4/includes/abilities/class-evf-form-builder.php#L614
- Riferimentohttps://plugins.trac.wordpress.org/browser/everest-forms/tags/3.6.4/includes/admin/class-evf-admin-entries.php#L388
- Riferimentohttps://plugins.trac.wordpress.org/browser/everest-forms/tags/3.6.4/includes/class-evf-form-task.php#L1608
- Riferimentohttps://plugins.trac.wordpress.org/browser/everest-forms/tags/3.6.4/includes/class-evf-form-task.php#L2303
- Riferimentohttps://plugins.trac.wordpress.org/browser/everest-forms/tags/3.6.4/includes/class-evf-form-task.php#L2369
- Riferimentohttps://plugins.trac.wordpress.org/browser/everest-forms/tags/3.6.4/includes/class-evf-form-task.php#L578
- Riferimentohttps://plugins.trac.wordpress.org/changeset/3811088/everest-forms/trunk/includes/class-evf-form-task.php
- Riferimentohttps://www.wordfence.com/threat-intel/vulnerabilities/id/d76d5977-3f8e-44aa-94bd-0383080265da?source=cve