Плагин Super Forms Drag & Drop Form Builder для WordPress уязвим для Arbitrary Directory Deletion во всех версиях вплоть до 6.3.316 с помощью функции submit_form. Это связано с недостаточной проверкой контролируемых злоумышленником объявлений поля JSON на фактическую схему формы в сочетании с неэффективным защитным экраном ABSPATH, который dirname() тривиально обходит, удаляя трейлинг-слэш. Это позволяет неаутентифицированным злоумышленникам рекурсивно удалять произвольные каталоги на сервере, включая корневой каталог WordPress.
Эксплуатация требует, чтобы администратор включил параметр «Файлы Delete с сервера после отправки формы», хотя это документированная и обычно поддерживаемая функция.
Показать оригинальное описание (EN)
The Super Forms – Drag & Drop Form Builder plugin for WordPress is vulnerable to Arbitrary Directory Deletion in all versions up to, and including, 6.3.316 via the submit_form function. This is due to insufficient validation of attacker-controlled JSON field declarations against the actual form schema, combined with a non-effective ABSPATH guard that dirname() trivially bypasses by stripping the trailing slash. This makes it possible for unauthenticated attackers to recursively delete arbitrary directories on the server, including the WordPress root directory. Exploitation requires that an administrator has enabled the 'Delete files from server after form submissions' setting, though this is a documented and commonly-enabled feature.
Характеристики атаки
Последствия
Строка CVSS v3.1