IPFire
CVE-2025-34302
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to IPFire web UI
-
DeliveryPOST saveservice with crafted PROT value
-
ExploitScript stored unsanitized
-
ExecutionAdmin views service entry
-
ImpactJavaScript executes in victim session
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 a valid authenticated session on the IPFire web management interface (PR:L) with the ability to create a service - specifically submitting an HTTP POST with ACTION=saveservice and a JavaScript payload in the PROT (protocol type) parameter. Exploitation is not self-contained: a second user (UI:P / Passive) must subsequently open the web interface and render the affected service entry for the stored script to execute in their context. Limiting factors: no anonymous/unauthenticated path, dependence on another operator viewing the poisoned entry, and the fact that IPFire admin access is usually restricted to a small trusted group - materially reducing realistic exploitation beyond the raw score. Fixed in IPFire 2.29 Core Update 198. |
| Impact | This is a genuine but modest-priority vulnerability - a classic stored XSS (CWE-79) whose signals are internally consistent and point to low-to-moderate real-world risk. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P) confirms network reach and low attack complexity, but two factors meaningfully constrain it: PR:L means the attacker must already be an authenticated web-interface user, and UI:P means a second privileged user must view the poisoned service entry for the payload to fire. The vulnerable-system impact is explicitly null (VC:N/VI:N/VA:N); all impact lands on the subsequent system (SC:L/SI:L/SA:N), i.e. the browser session of other operators - the expected shape for stored XSS. The 5.1 'Medium' score is therefore credible and not inflated. EPSS of 0.48% (40th percentile) aligns with this: no indication of mass exploitation interest. There is no CISA KEV listing and no public exploit referenced, so there is no evidence of active exploitation. The main caveat: IPFire's web admin interface is typically accessible only to a small set of trusted administrators, so the authenticated+UI preconditions make this far more of a privilege-escalation-between-operators / targeted-tampering issue than an internet-mass-exploitation threat. No conflicting signals were found across sources; the CVSS vector, description, and EPSS all agree. |
| Exploit ScenarioDerived | An attacker who already holds a low-privileged authenticated account on the IPFire web interface creates a new service and sets the PROT parameter to a malicious JavaScript payload via the saveservice action. The payload is stored and later executes in the browser of another administrator who views the service list, letting the attacker run script in that victim's authenticated admin session. No public exploit code was identified at time of analysis, and exploitation depends on a second user viewing the entry (UI:P). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
Stored cross-site scripting (CWE-79) in the IPFire web management interface, affecting releases prior to 2.29 Core Update 198, allows an authenticated administrator to persist arbitrary JavaScript by submitting a crafted PROT (protocol type) value in the ACTION=saveservice request used to create a service entry. The stored payload is later rendered without sanitization or output encoding, so it executes in the browser session of any other operator who views the affected service listing - yielding session-riding and interface-manipulation impact limited to the IPFire administrative UI rather than the underlying firewall or host. Exploitation requires a valid authenticated session plus a second user opening the poisoned page (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N), and this is a modest-priority issue: EPSS is 0.48 percent (40th percentile), there is no KEV listing, and no public exploit identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade to IPFire 2.29 Core Update 198, which resolves the missing sanitization of the PROT parameter during service creation; the release notes are at https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released and the defect is tracked at https://bugzilla.ipfire.org/show_bug.cgi?id=13877. Upgrading is the only complete fix and should be prioritised on any IPFire instance whose web interface is reachable by more than one administrator. Where an immediate upgrade is not possible, reduce exposure by restricting the management interface (typically port 444 on the GREEN interface) to a dedicated trusted management VLAN or source-IP allowlist via firewall rules - accepting that this breaks remote administration from untrusted networks, including some VPN topologies. Limit the number of accounts holding administrative rights and audit existing service definitions for suspicious PROT values containing angle brackets, quotes, or script keywords, removing any entries found; note that this is detection and cleanup rather than a fix, since a re-injection is possible until Core Update 198 is applied. Because exploitation requires a second authenticated user to open the poisoned page, enforcing short admin session lifetimes and prompting operators to log out after configuration work reduces the window in which stored script can execute, at the cost of more frequent re-authentication. A restrictive Content-Security-Policy on the management interface would also blunt inline script execution but is not something an operator can configure reliably on stock IPFire firmware.
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 an open-source Linux-based firewall/router distribution whose administration is performed through a web management interface; the vulnerable code path handles service (protocol/port) definitions, where the client posts to the interface with ACTION set to saveservice and the protocol type carried in the PROT parameter. Because that value is persisted server-side and later interpolated into HTML output without contextual encoding or input validation, the flaw falls squarely into CWE-79 in its stored variant: the injection is not reflected in a single response but survives in configuration state and detonates for every subsequent viewer. Standard XSS consequences follow - execution of attacker-supplied script under the interface's origin, enabling actions as the victim operator, disclosure of page content, and tampering with what administrators see. The CPE data enumerates affected 2.29 builds from core_update183 through core_update191 alongside the wildcard cpe:2.3:a:ipfire:ipfire entry, confirming that the defect predates those builds and persisted across multiple Core Updates until the fix. CVSS v4.0 scoring (5.1) and the assessor's CVSS v3.1 vector (5.1-equivalent, scope-changed) both agree on limited confidentiality and integrity impact within the changed scope of the web interface, with no availability impact; the assessed vector adds the crucial nuance that PR:L and UI:R make this a post-authentication, second-victim attack rather than something self-contained.
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 low-priv attacker (PR:L) stores a payload that fires only when another user views it (UI:R); it executes across a trust boundary into the victim's session (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 PROT parameter when creating a new service. When a user adds a service, the application issues an HTTP POST request with the ACTION parameter set to saveservice, and the protocol type is specified in the PROT parameter. The value of this parameter is stored and later rendered in the web interface without proper sanitization or encoding, allowing injected scripts to execute in the context of other users viewing the affected service 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