NukeViet CMS — мультиплатформенный Content Management System. От 4.5.08 до 4.5.12 и 4.6.02 злоумышленник может поместить внутренние маркеры дезинфицирующего устройства NukeViet в значение iframe srcdoc, кодируя квадратные скобки как объекты HTML. Рекурсивная обработка NukeViet\Core\Request::filterTags () декодирует символы, принимает поддельный маркер, а затем преобразует его в реальную разметку без обычной фильтрации тегов или атрибутов.
Поскольку незагруженный srcdoc iframe разделяет родительское происхождение, а iframe включен по умолчанию через NV_ALLOWED_HTML_TAGS, сохраненные сообщения Contact, комментарии с включенным редактором или отправленные статьи могут выполнять JavaScript с сеансом просмотра. Эта проблема исправлена в версиях 4.5.12 и 4.6.02.
Показать оригинальное описание (EN)
NukeViet CMS is a multi Content Management System. From 4.5.08 until 4.5.12 and 4.6.02, an attacker can place NukeViet's internal {@[, ]@}, [@{, and }@] sanitizer markers in an iframe srcdoc value by encoding square brackets as HTML entities. Recursive NukeViet\Core\Request::filterTags() processing decodes the characters, accepts the forged marker, and later converts it to real markup without normal tag or attribute filtering. Because an unsandboxed srcdoc iframe shares the parent origin and iframe is enabled by default through NV_ALLOWED_HTML_TAGS, stored Contact messages, comments with the editor enabled, or submitted articles can execute JavaScript with the viewer's session. This issue is fixed in versions 4.5.12 and 4.6.02.
Характеристики атаки
Последствия
Строка CVSS v3.1