IPFire
CVE-2025-34303
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to IPFire web UI
-
DeliveryPOST crafted remark to /cgi-bin/ids.cgi
-
ExploitStore XSS in IGNORE_ENTRY_REMARK
-
ExecutionAdmin views whitelist entry
-
ImpactScript executes in victim admin 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 | Exploitation requires the attacker to hold a valid authenticated session on the IPFire web administration interface (PR:L) and to use the IDS/Intrusion Prevention whitelist feature - specifically adding a whitelisted host via a POST to /cgi-bin/ids.cgi with a payload in the IGNORE_ENTRY_REMARK parameter. The injected script only fires when a second user (e.g., another administrator) subsequently views the affected whitelist entry in the web interface, so successful attack is gated by victim interaction (UI:P). Limiting factors: the IPFire management interface must be reachable by the attacker, a valid administrative/management account is required, and a distinct victim must open the affected page; there is no path to unauthenticated or fully automated exploitation. |
| Impact | This is a genuine but modest-priority issue, best characterized as a real-but-low-urgency vulnerability rather than a high-severity emergency. The CVSS 4.0 base score of 5.1 (Medium) is consistent with the vulnerability class: a stored XSS (CWE-79) that is network-reachable (AV:N) and low-complexity (AC:L) but requires an authenticated session (PR:L) and victim interaction (UI:P), with no impact to the confidentiality, integrity, or availability of the vulnerable system itself (VC:N/VI:N/VA:N) and only limited impact to subsequent systems - i.e., other users' browser sessions (SC:L/SI:L). The EPSS score of 0.48% (40th percentile) indicates low near-term exploitation probability, and the vulnerability is NOT listed in CISA KEV, so there is no public exploitation claim. There is no public exploit identified at time of analysis - the VulnCheck advisory documents the flaw but no weaponized POC is referenced. All signals align coherently here (medium CVSS, low EPSS, no KEV, authenticated + interaction-dependent), so there is no conflict to flag; the only caveat is that the requirement for a pre-existing authenticated account on the IPFire administrative interface sharply limits the realistic attacker population to insiders or those who have already compromised a valid login. |
| Exploit ScenarioDerived | An attacker who already holds valid credentials to the IPFire web administration interface adds a whitelisted host entry and places malicious JavaScript in the IGNORE_ENTRY_REMARK field of a POST request to /cgi-bin/ids.cgi. The payload is stored and later executed in the browser of any other administrator who views the IDS whitelist page, enabling session hijacking or actions performed in the victim's administrative context. Exploitation is low-complexity but gated by the need for an authenticated account and for a second user to view the affected entry (UI:P); no public exploit code is identified at time of analysis. |
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 IDS/IPS whitelist interface lets an authenticated management user persist JavaScript through the IGNORE_ENTRY_REMARK field when adding a whitelisted host, with the payload executing when another administrator views the entry. The issue affects IPFire releases prior to 2.29 Core Update 198 and is gated by a valid login plus victim interaction (CVSS 3.1: AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N), so it is a modest-priority administrative-interface risk rather than an unauthenticated compromise path. No public exploit code or CISA KEV listing appears in the supplied data, and EPSS is low at 0.48% (40th percentile).
RemediationAI
Upgrade to IPFire 2.29 Core Update 198, the vendor-released fixed version announced at https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released and tracked in https://bugzilla.ipfire.org/show_bug.cgi?id=13878. Until upgrading, restrict access to the IPFire web administration interface to trusted management networks or VPN, understanding that this reduces exposure but does not fix the stored payload; audit the IDS/IPS whitelist for unexpected remarks and remove suspicious entries, though an authenticated attacker could re-add one; and enforce separate named administrator accounts with least privilege, which limits who can inject but does not eliminate the XSS. Because exploitation needs a valid management login and victim interaction, review administrative access and logs for POSTs to /cgi-bin/ids.cgi as a detection measure.
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 UI includes CGI endpoints such as /cgi-bin/ids.cgi for managing IDS/IPS whitelist entries. The flaw is CWE-79 (improper neutralization of input during web page generation): the IGNORE_ENTRY_REMARK parameter supplied in a POST to that CGI is stored server-side and later rendered into the whitelist view without output encoding, making it a persistent/stored XSS issue. The supplied CVSS 4.0 vector has PR:L and UI:P, and the independent CVSS 3.1 assessment (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) confirms that exploitation requires an authenticated session and a second user who opens the affected whitelist entry; the script then runs in that victim's authenticated browser context, which is why scope is changed, but confidentiality and integrity impact are assessed as limited and availability impact as none. There is no unauthenticated or fully automated exploitation path in the available data.
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
Stored XSS reachable over the network but requires an authenticated session (PR:L) and a victim to view the entry (UI:R); payload executes in another user's context so scope changes (S:C) with limited C/I impact and no availability effect.
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 IGNORE_ENTRY_REMARK parameter when adding a whitelisted host. When a whitelisted host is added, an HTTP POST request is sent to the Request-URI /cgi-bin/ids.cgi and the remark for the entry is provided in the IGNORE_ENTRY_REMARK 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 who view the affected whitelist 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