Skip to main content

IPFire CVE-2025-34311

HIGH
OS Command Injection (CWE-78)
2025-10-28 disclosure@vulncheck.com
8.7
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-priv WebGUI credentials
  2. Delivery
    Open Proxy report creation
  3. Exploit
    POST crafted params to /cgi-bin/logs.cgi/calamaris.dat
  4. Execution
    Inject shell metacharacters into mkreport call
  5. Persist
    Execute arbitrary commands as 'nobody'
  6. Impact
    Pivot/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.

This Week Schedule remediation this week. Why: HIGH severity + EPSS > 10%.
No patch listed yet 13.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (vulncheck) PRIMARY 8.7 HIGH
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
vuln.today AI 8.8 HIGH

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).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
13.8%
Top 4% exploitable
Prevalence
Low
niche open-source Linux firewall distro, mainly SOHO/homelab/SMB deployments
Data Quality
2 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 13.8%
Patch available No
Active threat No
Deciding rule
HIGH severity + EPSS > 10%
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: +14
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Affected Products (CPE)CVE.org

cpe:2.3:a:ipfire:ipfire:*:*:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update183:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update184:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update185:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update186:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update187:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update188:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update189:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update190:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update191:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update192:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update193:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update194:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update195:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update196:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update197:*:*:*:*:*:*

More in Ipfire

View all
CVE-2017-9757 HIGH POC
8.8 Jun 19

IPFire 2.19 has a Remote Command Injection vulnerability in ids.cgi via the OINKCODE parameter, which is mishandled by a

CVE-2021-33393 HIGH POC
8.8 Jun 09

lfs/backup in IPFire 2.25-core155 does not ensure that /var/ipfire/backup/bin/backup.pl is owned by the root account. Ra

CVE-2018-16232 HIGH POC
8.8 Oct 17

An authenticated command injection vulnerability exists in IPFire Firewall before 2.21 Core Update 124 in backup.cgi. Ra

CVE-2019-25399 MEDIUM POC
6.4 Feb 18

IPFire 2.21 Core Update 127 contains multiple stored cross-site scripting vulnerabilities in the extrahd.cgi script that

CVE-2019-25398 MEDIUM POC
6.1 Feb 18

IPFire 2.21 Core Update 127 contains multiple cross-site scripting vulnerabilities in the ovpnmain.cgi script that allow

CVE-2019-25397 MEDIUM POC
6.1 Feb 18

IPFire 2.21 Core Update 127 contains multiple reflected cross-site scripting vulnerabilities in the hosts.cgi script tha

CVE-2019-25396 MEDIUM POC
6.1 Feb 18

IPFire 2.21 Core Update 127 contains a reflected cross-site scripting vulnerability in the updatexlrator.cgi script that

CVE-2019-25400 MEDIUM POC
5.4 Feb 18

IPFire 2.21 Core Update 127 contains multiple reflected cross-site scripting vulnerabilities in the fwhosts.cgi script t

CVE-2025-34312 HIGH
8.7 Oct 28

Command injection in the IPFire URL filter allows an authenticated administrator to execute arbitrary shell commands as

CVE-2025-34304 HIGH
7.1 Oct 28

Authenticated SQL injection in IPFire's OpenVPN connection-log viewer allows a management-UI user to alter the SQL query

CVE-2025-34309 MEDIUM
5.1 Oct 28

Stored cross-site scripting in IPFire before 2.29 (Core Update 198) allows an authenticated Dynamic DNS administrator to

CVE-2025-34301 MEDIUM
5.1 Oct 28

Stored cross-site scripting in IPFire's web management interface (versions prior to 2.29 Core Update 198) lets an authen

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy