Skip to main content

IPFire CVE-2025-34312

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
    Authenticate to IPFire web GUI
  2. Delivery
    POST blacklist install to urlfilter.cgi
  3. Exploit
    Inject shell metacharacters via BE_NAME
  4. Execution
    Shell command executes as 'nobody'
  5. Impact
    Foothold on firewall device

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

Exploitation requires (1) an authenticated session to the IPFire web administration interface (PR:L) and (2) the ability to trigger a URL-filter blacklist installation, which issues the vulnerable HTTP POST to /cgi-bin/urlfilter.cgi with an attacker-controlled BE_NAME parameter. The limiting factor is credentialed access to the firewall GUI - this is not exploitable by unauthenticated remote attackers. No user interaction beyond the attacker's own request is needed (UI:N), and default configurations of the URL filter feature are affected. Resulting command execution is confined to the low-privileged 'nobody' user, not root.

Impact

This is a genuine but authentication-gated priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H, score 8.7) tells a coherent story that matches the description: network-reachable web GUI, low complexity, but PR:L means the attacker must already hold valid credentials to the IPFire administrative web interface. Impact is high across confidentiality, integrity and availability, but execution occurs as the low-privileged 'nobody' user with no scope change (SC:N), so it is not an immediate root compromise - a defender should weight this below unauth RCE and treat privilege escalation from 'nobody' as a separate, unquantified step. No EPSS score, KEV listing, or POC was provided in the input, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The finding originates from VulnCheck with a corroborating IPFire Bugzilla entry and the Core Update 198 release blog, so the technical claim is well-sourced even absent an exploitation-probability signal. Net: a real, credible authenticated RCE worth patching, but not a drop-everything unauthenticated internet-facing emergency.

Exploit ScenarioDerived

An attacker who has obtained valid IPFire web-GUI credentials (or a low-privileged admin account) submits a URL-filter blacklist installation POST to /cgi-bin/urlfilter.cgi with shell metacharacters embedded in the BE_NAME parameter, which is interpolated into a shell command without sanitization. The injected commands execute as the 'nobody' user on the firewall, giving the attacker a foothold on a security-critical perimeter device. No public POC was provided in the input, though VulnCheck published a technical advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 2.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 26, 2026

Command injection in the IPFire URL filter allows an authenticated administrator to execute arbitrary shell commands as the unprivileged 'nobody' user by supplying a crafted BE_NAME value when installing a blacklist through the web interface. The flaw affects IPFire releases prior to 2.29 Core Update 198, and exploitation requires a valid GUI session (CVSS PR:L) plus the ability to trigger a blacklist installation, so unauthenticated remote attackers cannot reach the vulnerable code path; no public exploit code was identified at time of analysis, and the resulting command execution is confined to the 'nobody' account rather than root. With a CVSS 4.0 base score of 8.7 (assessed equivalently as CVSS 3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), this is a genuine but credential-gated priority for firewall appliances whose management interface is reachable by untrusted users.

RemediationAI

Upgrade to IPFire 2.29 Core Update 198 or later: this is the vendor-released patch, announced at https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released and tracked in the upstream bug at https://bugzilla.ipfire.org/show_bug.cgi?id=13887 (independent analysis: https://www.vulncheck.com/advisories/ipfire-command-injection-via-url-filter-blacklist); upgrades are applied through the IPFire package manager or the web UI's update function and should be followed by a reboot. Because exploitation is gated on an authenticated GUI session, the most effective compensating control is to restrict access to the web administration interface (default port 444) to the trusted LAN/GREEN zone only and never expose it to the WAN or RED zone - the trade-off is that remote administration must then be tunnelled through a VPN or an SSH port-forward rather than performed directly. Administrators who cannot patch immediately should avoid installing or updating URL filter blacklists from any source until the update is applied, accepting reduced URL-filtering coverage as the cost, and should audit the 'nobody'-owned processes and IPFire logs for unexpected urlfilter.cgi POSTs or shell activity originating from the web interface. Given the low privilege level of the executing account, credential rotation for GUI administrators and review of exported or world-readable configuration files are worthwhile follow-ups, but none of these workarounds is a substitute for applying Core Update 198. Patch status: Vendor-released patch: IPFire 2.29 Core Update 198.

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

The issue is an OS command injection (CWE-78) in IPFire's URL filter component. When an administrator installs or updates a URL-filter blacklist, the web front end issues an HTTP POST to /cgi-bin/urlfilter.cgi, a CGI handler that shells out to system utilities to fetch, unpack and register the blacklist. The BE_NAME parameter, which identifies the blacklist being installed, is interpolated directly into that shell invocation without sanitisation or argument quoting, so shell metacharacters supplied by the caller are interpreted by the shell rather than treated as data. Because the CGI runs under the low-privileged 'nobody' account used by the IPFire web server for CGI execution, injected commands inherit that identity, limiting direct privilege but still allowing arbitrary reads/writes within nobody's permissions, credential or configuration harvesting, and network access from the firewall host. The CPE data enumerates IPFire 2.29 across Core Update 183 through 191 (cpe:2.3:a:ipfire:ipfire:2.29:core_update183 ... core_update191) plus a wildcard entry cpe:2.3:a:ipfire:ipfire:*, confirming the vulnerable surface is the legacy 2.29 core-update line prior to Core Update 198. No additional memory-safety, deserialisation or cryptographic weakness is involved: the entire root cause is unsafe passing of user-controlled input to a shell.

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 web GUI with low-privilege authentication required (PR:L); command injection yields full C/I/A in the 'nobody' process context with no scope change (S:U).

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 'nobody' user via the BE_NAME parameter when installing a blacklist. When a blacklist is installed the application issues an HTTP POST to /cgi-bin/urlfilter.cgi and interpolates the value of BE_NAME directly into a shell invocation without appropriate sanitation. Crafted input can inject shell metacharacters, leading to arbitrary command execution in the context of the 'nobody' user.

Executive ViewAI

Why It Matters

IPFire firewall appliances running versions prior to 2.29 Core Update 198 are affected by a high-severity command injection vulnerability. An authenticated administrator can exploit this flaw to execute arbitrary shell commands as the unprivileged 'nobody' user, potentially compromising the integrity of the firewall and the network it protects. Leadership should prioritize remediation because firewalls are critical security controls, and a compromised management interface could lead to broader network compromise, despite the requirement for valid credentials and no public exploit identified at time of analysis.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Restrict management interface access to trusted IP addresses, enforce least privilege for administrator accounts, enable comprehensive logging and monitoring for blacklist installation attempts, and consider network segmentation. Additionally, monitor vendor advisories for an eventual patch.

Threat Intelligence Overview

EPSS Score
2.3%
Top 17% exploitable
Prevalence
Low
open-source firewall distro with modest, community-driven deployment footprint
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 2.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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

46
Low Medium High Critical
KEV: 0
EPSS: +2
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-34311 HIGH
8.7 Oct 28

Authenticated command injection in the IPFire firewall distribution prior to 2.29 (Core Update 198) lets a low-privilege

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