Версии IPFire до 2.29 (основное обновление 198) содержат уязвимость внедрения команд, которая позволяет злоумышленнику, прошедшему проверку подлинности, выполнять произвольные команды от имени пользователя «никто» с использованием нескольких параметров при создании отчета прокси. Когда пользователь создает отчет прокси, приложение отправляет HTTP POST в /cgi-bin/logs.cgi/calamaris.dat и считывает значения DAY_BEGIN, MONTH_BEGIN, YEAR_BEGIN, DAY_END, MONTH_END, YEAR_END, NUM_DOMAINS, PERF_INTERVAL, NUM_CONTENT, HIST_LEVEL, NUM_HOSTS, NUM_URLS и BYTE_UNIT, которые интерполируются непосредственно в вызов оболочки помощника mkreport. Поскольку эти параметры никогда не очищаются от неправильных символов или конструкций, созданный POST может вставлять метасимволы оболочки в одно или несколько полей, вызывая запуск произвольных команд с привилегиями пользователя «никто».
Показать оригинальное описание (EN)
IPFire versions prior to 2.29 (Core Update 198) contain a command injection vulnerability that allows an authenticated attacker to execute arbitrary commands as the user 'nobody' via multiple parameters when creating a Proxy report. When a user creates a Proxy report the application issues an HTTP POST to /cgi-bin/logs.cgi/calamaris.dat and reads the values of DAY_BEGIN, MONTH_BEGIN, YEAR_BEGIN, DAY_END, MONTH_END, YEAR_END, NUM_DOMAINS, PERF_INTERVAL, NUM_CONTENT, HIST_LEVEL, NUM_HOSTS, NUM_URLS, and BYTE_UNIT, which are interpolated directly into the shell invocation of the mkreport helper. Because these parameters are never sanitized for improper characters or constructs, a crafted POST can inject shell metacharacters into one or more fields, causing arbitrary commands to run with the privileges of the 'nobody' user.
Характеристики атаки
Последствия
Строка 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:*:*:*:*:*:*
|
— | — |