Версии IPFire до 2.29 (основное обновление 198) содержат уязвимость хранимого межсайтового скриптинга (XSS), которая позволяет злоумышленнику, прошедшему проверку подлинности, внедрить произвольный код JavaScript через параметр pienumber при обновлении настроек поиска по стране брандмауэра по умолчанию. Когда пользователь обновляет значения по умолчанию для поиска страны брандмауэра, приложение отправляет HTTP-запрос POST к /cgi-bin/logs.cgi/firewalllogcountry.dat, а количество отображаемых стран по умолчанию указывается в параметре pienumber. Значение этого параметра сохраняется и позже отображается в веб-интерфейсе без надлежащей очистки или кодирования, что позволяет выполнять внедренные сценарии в контексте других пользователей, которые просматривают настройки поиска страны, затронутые брандмауэром.
Показать оригинальное описание (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 pienumber parameter when updating the firewall country search defaults. When a user updates the default values for the firewall country search, the application issues an HTTP POST request to /cgi-bin/logs.cgi/firewalllogcountry.dat and the default number of countries to display is provided in the pienumber 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 firewall country search settings.
Характеристики атаки
Последствия
Строка CVSS v4.0
Тип уязвимости (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:*:*:*:*:*:*
|
— | — |