Skip to main content
CVE-2025-34312VulnerabilityPublished

CVE-2025-34312: IPFire · OS Command Injection

Affects IPFireSource CVE Database V5

0

Not known to be exploited · CVSS 8.7 High.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
2.2% chance of exploitation in 30 days – higher than 82% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
IPFire.org IPFireAffected
  • =0
Fixed in–

AI-suggested

To mitigate CVE-2025-34312, European organizations should take immediate and specific actions beyond generic advice: 1) Restrict access to the /cgi-bin/urlfilter.cgi endpoint by limiting authentication to trusted administrators only and enforcing network-level access controls such as VPN or IP whitelisting. 2) Implement strict input validation and sanitization on the BE_NAME parameter to neutralize shell metacharacters, ideally by applying patches or configuration changes recommended by IPFire once available. 3) Monitor firewall logs for unusual POST requests or suspicious activity targeting the URL filter interface. 4) Employ network segmentation to isolate firewall management interfaces from general user networks. 5) Regularly update IPFire installations to the latest version (2.29 or later) as soon as the patch is released. 6) Conduct internal audits to identify any unauthorized changes or signs of compromise on firewall devices. 7) Educate administrators on the risks of command injection vulnerabilities and enforce strong authentication mechanisms to reduce the risk of credential compromise.

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

References

Community reviews

Loading reviews…