Agent Zero до версии 1.15 содержит сохраненную уязвимость межсайтового скриптинга, которая позволяет злоумышленникам выполнять произвольный JavaScript в источнике приложения, предоставляя файлы SVG через конечную точку API image_get без заголовков Content-Security-Policy, X-Content-Type-Options или Content-Disposition. Злоумышленники могут разместить созданный SVG-файл, содержащий теги сценария, по любому пути, читаемому процессом нулевого агента, и заманить аутентифицированного пользователя к конечной точке image_get, заставив браузер выполнить вредоносный сценарий, украсть файл cookie csrf_token и выполнить несанкционированные вызовы API от имени жертвы.
Показать оригинальное описание (EN)
Agent Zero before version 1.15 contains a stored cross-site scripting vulnerability that allows attackers to execute arbitrary JavaScript in the application origin by serving SVG files through the image_get API endpoint without Content-Security-Policy, X-Content-Type-Options, or Content-Disposition headers. Attackers can place a crafted SVG file containing script tags in any path readable by the agent-zero process and lure an authenticated user to the image_get endpoint, causing the browser to execute the malicious script, steal the csrf_token cookie, and perform unauthorized API calls on behalf of the victim.
Характеристики атаки
Последствия
Строка CVSS v4.0