IPFire
CVE-2025-34311
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-priv WebGUI credentials
-
DeliveryOpen Proxy report creation
-
ExploitPOST crafted params to /cgi-bin/logs.cgi/calamaris.dat
-
ExecutionInject shell metacharacters into mkreport call
-
PersistExecute arbitrary commands as 'nobody'
-
ImpactPivot/recon on firewall host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated low-privilege session on the IPFire WebGUI (PR:L) and access to the Proxy (Calamaris) report creation feature, which issues the vulnerable POST to /cgi-bin/logs.cgi/calamaris.dat. Injection is possible through any of the DAY_BEGIN, MONTH_BEGIN, YEAR_BEGIN, DAY_END, MONTH_END, YEAR_END, NUM_DOMAINS, PERF_INTERVAL, NUM_CONTENT, HIST_LEVEL, NUM_HOSTS, NUM_URLS, or BYTE_UNIT parameters, which are interpolated unsanitized into the mkreport shell command. No user interaction beyond the attacker's own request is needed (UI:N). Limiting factors: valid GUI credentials are required, exploitation is confined to the network paths that can reach the firewall's management interface (which is typically restricted to the trusted/internal side and not internet-facing by default), and code execution is capped at the unprivileged 'nobody' user with no built-in privilege escalation. |
| Impact | This is a genuine authenticated remote command-injection flaw (CWE-78) in IPFire's web GUI, and the signals are internally consistent. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) correctly reflects a network-reachable, low-complexity, no-interaction attack that requires only low-privilege authentication to the management interface and yields full high impact on confidentiality, integrity, and availability of the affected system - hence the 8.7 base score. Scope/subsequent-system metrics are N (SC:N/SI:N/SA:N) because code runs only as the unprivileged 'nobody' user with no automatic privilege escalation, which appropriately keeps this out of critical territory. No EPSS score, KEV listing, or public exploit was provided in the input, so exploitation status is 'no public exploit identified at time of analysis' - this is not confirmed active exploitation. The practical mitigating factor is that IPFire's admin/web interface should not be internet-exposed by default (it is a firewall management plane), so the realistic attacker is one who already holds a low-privilege WebGUI credential or is positioned on the trusted/management network. Net: a real, well-characterized bug worth patching promptly on any IPFire instance with multiple GUI users or exposed management, but not a mass-exploitation emergency absent EPSS/KEV evidence. |
| Exploit ScenarioDerived | An attacker who holds any low-privilege IPFire WebGUI account (or who has hijacked such a session on the management network) navigates to the Proxy report feature and submits a crafted POST to /cgi-bin/logs.cgi/calamaris.dat, embedding shell metacharacters (e.g. in DAY_BEGIN or BYTE_UNIT) that are interpolated unsanitized into the mkreport shell invocation. The injected command executes as the 'nobody' user, giving the attacker arbitrary command execution on the firewall appliance. No public proof-of-concept was indicated in the provided data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 26, 2026
Authenticated command injection in the IPFire firewall distribution prior to 2.29 (Core Update 198) lets a low-privilege WebGUI user run arbitrary shell commands as the 'nobody' service account. When a Proxy (Calamaris) report is generated, the GUI POSTs to /cgi-bin/logs.cgi/calamaris.dat and passes fields such as DAY_BEGIN, MONTH_BEGIN, YEAR_BEGIN, NUM_DOMAINS and BYTE_UNIT straight into the mkreport helper without sanitization, so shell metacharacters in any of those fields are executed server-side. The issue is remotely reachable but requires valid GUI credentials and access to the firewall's management interface; there is no public exploit identified at time of analysis and no CISA KEV listing, though the assessed CVSS:3.1 vector of AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H and the reported CVSS 8.7 reflect high confidentiality, integrity and availability impact within the compromised 'nobody' context.
RemediationAI
Upgrade to IPFire 2.29 Core Update 198 or later, which is the vendor-released patch that fixes the unsanitized parameter interpolation in mkreport (see https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released and upstream Bugzilla 13886). Where an immediate upgrade is not possible, restrict access to the WebGUI so that only fully trusted administrators on the internal management network can reach /cgi-bin/logs.cgi/calamaris.dat, since exploitation requires a valid GUI session and network reachability to the management interface; note that any account with report privileges remains a viable injection source, so this only reduces the attack surface rather than eliminating it. Additionally, avoid granting Proxy/report permissions to non-administrative accounts and audit GUI users for unnecessary privileges, though this is a compensating control with the trade-off of reduced operational flexibility and no protection against a compromised legitimate admin account. Because code execution is bounded to the 'nobody' user with no built-in privilege escalation, hardening that account and monitoring for unexpected child processes spawned by the CGI layer can help detect post-exploitation activity until the patch is applied.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
IPFire is a Linux-based firewall/router distribution whose administration is performed through a CGI-based Web GUI. The Calamaris proxy-report feature builds a report by invoking the mkreport helper through a shell; each report parameter submitted by the browser is concatenated into that command line. Because none of the parameters (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) are validated or escaped, the flaw is a classic CWE-78 OS command injection: shell metacharacters such as semicolons, backticks or command substitution sequences let the caller break out of the intended argument and append their own commands. CPE data confirms the affected component set across the IPFire 2.x line, listing generic IPFire ranges plus 2.29 builds core_update183 through core_update191, i.e. every Core Update shipped before the Core Update 198 fix. The injected commands run with the privileges of the 'nobody' account used by the report subsystem, which is unprivileged but still gives full read access to files that user can see and the ability to execute arbitrary binaries, potentially enabling lateral movement or persistence on the firewall host.
Know when Ipfire gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable WebGUI, low complexity, requires a low-privilege authenticated session (PR:L), no interaction; command execution as 'nobody' gives high C/I/A with scope unchanged (no privilege escalation).
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
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.
Executive ViewAI
Organizations running IPFire firewall distributions older than 2.29 (Core Update 198) are exposed to an attacker who holds any valid WebGUI credential obtaining shell-level command execution on the firewall appliance itself - the device that anchors the network's trust boundary. Because only low-privilege GUI access is required, a shared, reused, or phished help-desk-level account is sufficient to convert the perimeter firewall into a staging point for traffic manipulation, rule tampering, and lateral movement. No public exploit code or confirmed active exploitation is identified at this time, giving leadership a short window to harden access and upgrade before the technique becomes widely adopted.
No vendor-released patch identified at time of analysis. Interim mitigations: limit WebGUI management interface exposure to trusted administrative networks or a dedicated management VLAN/jump host (never internet-facing); enforce MFA and least privilege on WebGUI accounts and remove unused low-privilege users; deploy WAF/reverse-proxy or IDS rules blocking shell metacharacters in the DAY_BEGIN, MONTH_BEGIN, YEAR_BEGIN, NUM_DOMAINS and BYTE_UNIT parameters posted to /cgi-bin/logs.cgi/calamaris.dat; restrict who can generate Calamaris/Proxy reports; centralise and monitor appliance logs for unexpected 'nobody' shell execution; and plan migration to IPFire 2.29 (Core Update 198), referenced as the fixed release, pending vendor patch confirmation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Affected Products (CPE)CVE.org
IPFire 2.19 has a Remote Command Injection vulnerability in ids.cgi via the OINKCODE parameter, which is mishandled by a
lfs/backup in IPFire 2.25-core155 does not ensure that /var/ipfire/backup/bin/backup.pl is owned by the root account. Ra
An authenticated command injection vulnerability exists in IPFire Firewall before 2.21 Core Update 124 in backup.cgi. Ra
IPFire 2.21 Core Update 127 contains multiple stored cross-site scripting vulnerabilities in the extrahd.cgi script that
IPFire 2.21 Core Update 127 contains multiple cross-site scripting vulnerabilities in the ovpnmain.cgi script that allow
IPFire 2.21 Core Update 127 contains multiple reflected cross-site scripting vulnerabilities in the hosts.cgi script tha
IPFire 2.21 Core Update 127 contains a reflected cross-site scripting vulnerability in the updatexlrator.cgi script that
IPFire 2.21 Core Update 127 contains multiple reflected cross-site scripting vulnerabilities in the fwhosts.cgi script t
Command injection in the IPFire URL filter allows an authenticated administrator to execute arbitrary shell commands as
Authenticated SQL injection in IPFire's OpenVPN connection-log viewer allows a management-UI user to alter the SQL query
Stored cross-site scripting in IPFire before 2.29 (Core Update 198) allows an authenticated Dynamic DNS administrator to
Stored cross-site scripting in IPFire's web management interface (versions prior to 2.29 Core Update 198) lets an authen
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB