8.7high
IPFire < v2.29 Command Injection via Proxy Report Creation
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 14.2% (higher than 96% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| IPFire.org IPFire | before 2.29 (Core Update 198) | CVE List |
| ipfire ipfire | before 2.29, 2.29 | NVD |
All scores
| VulnCheck | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Las versiones de IPFire anteriores a 2.29 (Core Update 198) contienen una vulnerabilidad de inyección de comandos que permite a un atacante autenticado ejecutar comandos arbitrarios como el usuario 'nobody' a través de múltiples parámetros al crear un informe de Proxy. Cuando un usuario crea un informe de Proxy, la aplicación emite una solicitud HTTP POST a /cgi-bin/logs.cgi/calamaris.dat y lee los valores de DAY_BEGIN, MONTH_BEGIN, YEAR_BEGIN, DAY_END, MONTH_END, YEAR_END, NUM_DOMAINS, PERF_INTERVAL, NUM_CONTENT, HIST_LEVEL, NUM_HOSTS, NUM_URLS y BYTE_UNIT, los cuales se interpolan directamente en la invocación de shell del asistente mkreport. Debido a que estos parámetros nunca se sanean para caracteres o construcciones inapropiados, una solicitud POST manipulada puede inyectar metacaracteres de shell en uno o más campos, lo que provoca que se ejecuten comandos arbitrarios con los privilegios del usuario 'nobody'.
References
| https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released | patch, release-notes, vendor-advisory | |
| https://bugzilla.ipfire.org/show_bug.cgi?id=13886 | issue-tracking, third-party-advisory | |
| https://www.vulncheck.com/advisories/ipfire-command-injection-via-proxy-report-creation | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-34311 changed 2025-10-28 | CVE Terms of Use |
| NVD | CVE-2025-34311 changed 2026-09-26 | Public domain |