Плагин All-in-One Video Gallery Video Player & Galleries for YouTube, Vimeo & Self-Hosted Videos для WordPress уязвим для Stored Cross-Site Scripting через параметр «embedcode» во всех версиях вплоть до, включая, 5.2.0 из-за недостаточной дезинфекции входов и выхода выходов. Это позволяет аутентифицированным злоумышленникам с доступом на уровне абонента и выше вводить произвольные веб-скрипты на страницах, которые будут выполняться всякий раз, когда пользователь получает доступ к введенной странице. Плагин предоставляет Subscriber роль возможностей edit_aiovg_videos и edit_published_aiovg_videos при активации, а save_meta_data () принимает тип 'embedcode' без проверки current_user_can('unfiltered_html', то есть любой Subscriber может хранить вредоносный шорткод, содержащий данные: URI в атрибуте hls, который hls.js обрабатывает позже, а Plyr записывает в DOM через innerHTMLQ.
Показать оригинальное описание (EN)
The All-in-One Video Gallery – Video Player & Galleries for YouTube, Vimeo & Self-Hosted Videos plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'embedcode' parameter in all versions up to, and including, 5.2.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The plugin grants the Subscriber role the edit_aiovg_videos and edit_published_aiovg_videos capabilities on activation, and save_meta_data() accepts the 'embedcode' type without checking current_user_can('unfiltered_html'), meaning any Subscriber can store a malicious shortcode containing a data: URI in the hls attribute that hls.js later processes and Plyr writes into the DOM via innerHTML.
Характеристики атаки
Последствия
Строка CVSS v3.1