Версии IPFire до 2.29 (Core Update 198) содержат уязвимость хранимого межсайтового сценария (XSS), которая позволяет злоумышленнику, прошедшему проверку подлинности, внедрить произвольный код JavaScript через параметры INC_SPD, OUT_SPD, DEFCLASS_INC и DEFCLASS_OUT при обновлении настроек качества обслуживания (QoS). Когда пользователь обновляет скорости или классы, приложение отправляет HTTP-запрос POST к /cgi-bin/qos.cgi, а значения входящих/исходящих скоростей и классов по умолчанию предоставляются в параметрах INC_SPD, OUT_SPD, DEFCLASS_INC и DEFCLASS_OUT. Значения этих параметров сохраняются и позже отображаются в веб-интерфейсе без надлежащей очистки или кодирования, что позволяет выполнять внедренные сценарии в контексте других пользователей, которые просматривают затронутые записи QoS.
Показать оригинальное описание (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 INC_SPD, OUT_SPD, DEFCLASS_INC, and DEFCLASS_OUT parameters when updating Quality of Service (QoS) settings. When a user updates speeds or classes, the application issues an HTTP POST request to /cgi-bin/qos.cgi and the values for incoming/outgoing speeds and default classes are provided in the INC_SPD, OUT_SPD, DEFCLASS_INC, and DEFCLASS_OUT parameters. The values of these parameters are 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 QoS entries.
Характеристики атаки
Последствия
Строка 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:*:*:*:*:*:*
|
— | — |