Неисправность была обнаружена в контроллере Red Hat Ansible Automation Platform's. The HTML view of job, ad hoc command, project update, and inventory update standard output escapes HTML metacharacters but does not remove ANSI terminal escape sequences before conversion to HTML. Последовательность гиперссылок ANSI OSC 8 на выходе расширяется до якоря HTML, href которого не фильтруется по схеме или не удаляется, поэтому пользователь с низкими привилегиями, который может производить вывод, или внешняя сторона, чьи данные перекликаются с плейбуком, может встроить javascript: ссылку, которая отображается в текстовый / HTML-ответ без Content-Security-Policy.
Когда более привилегированный пользователь просматривает страницу вывода и нажимает на ссылку, управляемый злоумышленником JavaScript выполняется в их аутентифицированном сеансе, позволяя действия этого пользователя до полного захвата платформы.
Показать оригинальное описание (EN)
A flaw was found in Red Hat Ansible Automation Platform's automation- controller. The HTML view of job, ad hoc command, project update, and inventory update standard output escapes HTML metacharacters but does not remove ANSI terminal escape sequences before conversion to HTML. An ANSI OSC 8 hyperlink sequence in the output is expanded into an HTML anchor whose href is not scheme- filtered or escaped, so a low-privileged user who can produce output -- or an external party whose data a playbook echoes -- can embed a javascript: link that is rendered into a text/html response with no Content-Security-Policy. When a higher-privileged user views the output page and clicks the link, attacker- controlled JavaScript executes in their authenticated session, allowing actions as that user up to full platform takeover.
Характеристики атаки
Последствия
Строка CVSS v3.1