IPFire
CVE-2025-34312
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to IPFire web GUI
-
DeliveryPOST blacklist install to urlfilter.cgi
-
ExploitInject shell metacharacters via BE_NAME
-
ExecutionShell command executes as 'nobody'
-
ImpactFoothold 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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).
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 '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
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.
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
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
Authenticated command injection in the IPFire firewall distribution prior to 2.29 (Core Update 198) lets a low-privilege
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