IPFire
CVE-2025-34314
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to IPFire web UI
-
DeliveryCreate time-constraint rule with script in SRC/DST/COMMENT
-
ExploitPayload stored in urlfilter config
-
ExecutionAdmin views time-constraint entry
-
ImpactScript executes in admin browser context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, 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 IPFire web-interface account with privileges to create URL filter time-constraint rules (POST to /cgi-bin/urlfilter.cgi with MODE=TIMECONSTRAINT); the injected SRC/DST/COMMENT payload is stored but only executes when a different user - typically an administrator - subsequently views the affected time-constraint entry. Limiting factors: valid authentication is mandatory (PR:L), victim interaction is required (UI:P - the malicious entry must be rendered to a victim), and only IPFire versions prior to 2.29 Core Update 198 are affected, so patched instances are not exploitable. |
| Impact | This is a moderate-severity, authenticated stored XSS (CWE-79) in IPFire's URL filter, carrying a vendor CVSS 4.0 score of 5.1. The signals are internally consistent and point to a real-but-bounded risk rather than a top priority. The CVSS 4.0 vector shows network attack vector (AV:N) and low complexity (AC:L), but exploitation requires existing privileges (PR:L - an authenticated web-UI user able to create URL filter time-constraint rules) and passive victim interaction (UI:P - another user must view the malicious entry). Impact is confined to the vulnerable system's confidentiality/integrity via subsequent-system scope (SC:L/SI:L) with no availability impact. The EPSS score of 0.48% (40th percentile) is low, indicating no evidence of broad exploitation interest, and the CVE is NOT in CISA KEV. No POC was supplied in the intelligence. The combination - authenticated precondition, required victim interaction, low EPSS, no KEV, no known POC - makes this a routine patch-when-convenient issue, not an emergency. The main residual concern is that IPFire is a firewall/perimeter device, so a stored XSS firing in an administrator's browser session could enable configuration tampering or session abuse against a security-critical appliance, which elevates the practical impact somewhat above a typical app XSS. |
| Exploit ScenarioDerived | An attacker who already holds a low-privileged IPFire web-UI account creates a URL filter time-constraint rule, injecting a JavaScript payload into the SRC, DST, or COMMENT parameter of a POST to /cgi-bin/urlfilter.cgi (MODE=TIMECONSTRAINT). The stored value is later rendered without sanitization, so when an administrator or other user opens the time-constraint view, the script executes in their browser session. No public exploit was identified at time of analysis, though the mechanics are straightforward to reproduce from the description. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
Stored cross-site scripting in IPFire's URL filter (versions prior to 2.29 Core Update 198) lets an authenticated web-interface user inject JavaScript through the SRC, DST, and COMMENT fields of a time-constraint rule, which then executes when another user-typically an administrator-views the affected entry. Exploitation requires a valid IPFire web-interface account with permission to create URL-filter time constraints and victim interaction, so impact is limited to script execution in the viewer's browser session; no public exploit identified at time of analysis, and EPSS is low at roughly 0.48%.
RemediationAI
Upgrade to IPFire 2.29 Core Update 198 or later, which contains the vendor-released fix; the release announcement is at https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released and the issue is tracked at https://bugzilla.ipfire.org/show_bug.cgi?id=13889. Until upgrading, restrict web-interface access to trusted administrators and review existing URL-filter time-constraint rules for unexpected SRC, DST, or COMMENT content, deleting suspicious entries; these measures reduce exposure but do not remove the underlying output-encoding defect, and restricting UI access can interfere with legitimate delegated administration. No public exploit identified at time of analysis, so prioritization can follow normal patch cadence for an authenticated stored XSS with low EPSS.
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 and router distribution whose administration interface is implemented as CGI programs, including /cgi-bin/urlfilter.cgi. The time-constraint feature accepts an HTTP POST with MODE=TIMECONSTRAINT and persists the SRC, DST, and COMMENT parameters; those stored values are later rendered into HTML without proper output encoding. This is CWE-79 (improper neutralization of input during web page generation) in its stored variant: the payload remains server-side and fires in the browser of any user who views the rule list. The assessed CVSS:3.1 vector AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N reflects network reachability, low-privilege authentication, required victim interaction, and a scope change because the script runs in the victim's session rather than the attacker's; the vendor's CVSS 4.0 score is 5.1. CPE data maps exposure to ipfire:ipfire releases before 2.29 Core Update 198, including enumerated 2.29 core updates 183 through 191.
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:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Authenticated UI user can store the payload (PR:L), a separate victim must render it (UI:R), and script executing in the victim's browser crosses a trust boundary (S:C) with limited C/I impact and no availability loss.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
IPFire versions prior to 2.29 (Core Update 198) contain a stored cross-site scripting (XSS) vulnerability that allows an authenticated attacker to inject arbitrary JavaScript code through the SRC, DST, and COMMENT parameters when creating a time constraint rule. When a user adds a time constraint rule the application issues an HTTP POST request to /cgi-bin/urlfilter.cgi with the MODE parameter set to TIMECONSTRAINT and the source hostnames/IPs, destination, and remark provided in the SRC, DST, and COMMENT parameters respectively. The values of these parameters are stored and later rendered in the web interface without proper sanitation or encoding, allowing injected scripts to execute in the context of other users who view the affected time constraint entry.
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
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
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 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
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB