Версии IPFire до 2.29 (основное обновление 198) содержат уязвимость хранимого межсайтового скриптинга (XSS), которая позволяет злоумышленнику, прошедшему проверку подлинности, внедрить произвольный код JavaScript через параметр TLS_HOSTNAME при добавлении новой записи DNS. Когда пользователь добавляет запись DNS, приложение отправляет HTTP-запрос POST к /cgi-bin/dns.cgi, а имя хоста TLS указывается в параметре TLS_HOSTNAME. Значение этого параметра сохраняется и позже отображается в веб-интерфейсе без надлежащей очистки или кодирования, что позволяет выполнять внедренные сценарии в контексте других пользователей, которые просматривают затронутую конфигурацию DNS.
Показать оригинальное описание (EN)
IPFire versions prior to 2.29 (Core Update 198) contain a stored cross-site scripting (XSS) vulnerability that allows an authenticated attacker to inject arbitrary JavaScript code through the TLS_HOSTNAME parameter when adding a new DNS entry. When a user adds a DNS entry, the application issues an HTTP POST request to /cgi-bin/dns.cgi and the TLS hostname is provided in the TLS_HOSTNAME parameter. The value of this parameter is stored and later rendered in the web interface without proper sanitation or encoding, allowing injected scripts to execute in the context of other users who view the affected DNS configuration.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 16
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Ipfire Ipfire
cpe:2.3:a:ipfire:ipfire:*:*:*:*:*:*:*:*
|
— |
<= 2.29
|
|
Ipfire Ipfire
cpe:2.3:a:ipfire:ipfire:2.29:core_update183:*:*:*:*:*:*
|
— | — |
|
Ipfire Ipfire
cpe:2.3:a:ipfire:ipfire:2.29:core_update184:*:*:*:*:*:*
|
— | — |
|
Ipfire Ipfire
cpe:2.3:a:ipfire:ipfire:2.29:core_update185:*:*:*:*:*:*
|
— | — |
|
Ipfire Ipfire
cpe:2.3:a:ipfire:ipfire:2.29:core_update186:*:*:*:*:*:*
|
— | — |
|
Ipfire Ipfire
cpe:2.3:a:ipfire:ipfire:2.29:core_update187:*:*:*:*:*:*
|
— | — |
|
Ipfire Ipfire
cpe:2.3:a:ipfire:ipfire:2.29:core_update188:*:*:*:*:*:*
|
— | — |
|
Ipfire Ipfire
cpe:2.3:a:ipfire:ipfire:2.29:core_update189:*:*:*:*:*:*
|
— | — |
|
Ipfire Ipfire
cpe:2.3:a:ipfire:ipfire:2.29:core_update190:*:*:*:*:*:*
|
— | — |
|
Ipfire Ipfire
cpe:2.3:a:ipfire:ipfire:2.29:core_update191:*:*:*:*:*:*
|
— | — |
|
Ipfire Ipfire
cpe:2.3:a:ipfire:ipfire:2.29:core_update192:*:*:*:*:*:*
|
— | — |
|
Ipfire Ipfire
cpe:2.3:a:ipfire:ipfire:2.29:core_update193:*:*:*:*:*:*
|
— | — |
|
Ipfire Ipfire
cpe:2.3:a:ipfire:ipfire:2.29:core_update194:*:*:*:*:*:*
|
— | — |
|
Ipfire Ipfire
cpe:2.3:a:ipfire:ipfire:2.29:core_update195:*:*:*:*:*:*
|
— | — |
|
Ipfire Ipfire
cpe:2.3:a:ipfire:ipfire:2.29:core_update196:*:*:*:*:*:*
|
— | — |
|
Ipfire Ipfire
cpe:2.3:a:ipfire:ipfire:2.29:core_update197:*:*:*:*:*:*
|
— | — |