Плагин Forminator Forms Contact Form, Payment Form & Custom Form Builder для WordPress уязвим для Arbitrary Shortcode Execution в версиях вплоть до 1.58.1. Это связано с тем, что помощник forminator_replace_quiz_form_data () вызывает do_shortcode () на полностью расширенном теле уведомлений после замены тега слияния quiz_result, в то время как ранее замененные теги слияния user_agent и refer_url несут неаутентифицированные байты, контролируемые злоумышленником (заголовок User-Agent и параметр referer_url POST) через sanitize_text_field()/esc_html (), ни один из которых не снимает короткие «[' и '». Это позволяет неавторизованным злоумышленникам выполнять произвольные шорткоды WordPress, зарегистрированные на сайте, путем отправки теста, шаблон уведомления которого содержит quiz_result; результирующее воздействие зависит от шорткодов, выставленных другими установленными плагинами / темами, и может варьироваться от произвольного впрыска контента до раскрытия информации.
Показать оригинальное описание (EN)
The Forminator Forms – Contact Form, Payment Form & Custom Form Builder plugin for WordPress is vulnerable to Arbitrary Shortcode Execution in versions up to, and including, 1.58.1. This is due to the forminator_replace_quiz_form_data() helper invoking do_shortcode() on the fully expanded notification body once the {quiz_result} merge tag has been substituted, while the earlier-substituted {user_agent} and {refer_url} merge tags carry unauthenticated attacker-controlled bytes (the User-Agent header and the referer_url POST parameter) through sanitize_text_field()/esc_html(), neither of which strip the '[' and ']' shortcode delimiters. This makes it possible for unauthenticated attackers to execute arbitrary WordPress shortcodes registered on the site by submitting a quiz whose notification template contains {quiz_result}; the resulting impact depends on the shortcodes exposed by other installed plugins/themes and can range from arbitrary content injection to information disclosure.
Характеристики атаки
Последствия
Строка CVSS v3.1