Плагин Advanced Country Blocker для WordPress уязвим для Stored Cross-Site Scripting через параметр 'REQUEST_URI' во всех версиях до, включая, 2.3.2 из-за недостаточной дезинфекции ввода и выхода. Это позволяет злоумышленникам, не прошедшим проверку подлинности, вводить произвольные веб-скрипты на страницах, которые будут выполняться всякий раз, когда пользователь получает доступ к введенной странице. Введенный скрипт хранится через переходный advcb_live_activity на крючке init и выполняется, когда администратор просматривает страницу Live Monitor, так как сохраненный URI небезопасно конкатенируется в атрибут заголовка HTML с двойной цитатой и вставляется в DOM через jQuery .html().
Показать оригинальное описание (EN)
The Advanced Country Blocker plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'REQUEST_URI' parameter in all versions up to, and including, 2.3.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The injected script is stored via the advcb_live_activity transient on the init hook and executed when an administrator views the Live Monitor page, as the stored URI is unsafely concatenated into a double-quoted HTML title attribute and inserted into the DOM via jQuery .html().
Характеристики атаки
Последствия
Строка CVSS v3.1