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()`. Это позволяет неавторизованным злоумышленникам удалять файлы в каталоге wp-content/uploads/ на сервере, поскольку safe_delete_file() обеспечивает границу реального пути, которая предотвращает удаление файлов за пределами этого каталога, таких как wp-config.php. Эксплуатация требует, чтобы администратор навсегда удалил представленную запись злоумышленника, так как неаутентифицированный злоумышленник не может сам вызвать удаление; целевой файл также должен находиться в пределах wp-content/uploads/.
Успешная эксплуатация также требует действий администратора — злоумышленник не может запустить уязвимость самостоятельно.
Показать оригинальное описание (EN)
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.
Характеристики атаки
Последствия
Строка CVSS v3.1