IPFire
CVE-2025-34306
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to IPFire web UI
-
DeliveryPOST malicious pienumber to firewalllogip.dat
-
ExploitPayload stored as default IP search value
-
ExecutionAdmin views firewall log page
-
ImpactInjected JavaScript executes in 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 an authenticated IPFire web-interface account with the ability to update the default firewall IP search values - specifically the capability to issue the POST to /cgi-bin/logs.cgi/firewalllogip.dat carrying the pienumber parameter, which is stored and later rendered without sanitization or output encoding. Realistic exploitation further requires a second user (in practice an administrator) to subsequently view the affected firewall log page so the stored script executes (reflected in UI:P / user interaction). Limiting factors: authentication is required (PR:L, not unauthenticated), the stored payload only fires when a victim loads the page, and impact is confined to the browser/session context of UI users rather than the firewall OS itself. Affected: IPFire 2.29 prior to Core Update 198. |
| Impact | This is a genuinely mid-tier issue, not a high-priority emergency, and the multiple signals agree with each other. The CVSS 4.0 base score is 5.1 (Medium) with vector AV:N/AC:L/PR:L/UI:P, meaning network-reachable but requiring an authenticated session and passive user interaction (a victim viewing the affected page). EPSS is 0.48% at the 40th percentile - low exploitation probability, consistent with a stored XSS that depends on authentication and a victim's page view rather than mass-automatable remote code execution. There is no CISA KEV listing and no public exploit identified at time of analysis, so there is no evidence of active exploitation or weaponization. The impact signals are also modest: both the CVSS 4.0 vulnerable-system confidentiality/integrity/availability metrics are N and the effect is expressed only as subsequent-system impact (SC:L/SI:L), reflecting that the harm is to the browser/session of other users viewing the IPFire web UI rather than to the firewall host itself. No signals conflict here - low EPSS, no KEV, no POC, authenticated precondition, and a Medium CVSS all point the same direction. The one caveat is that this is a firewall management interface, so the affected 'other users' are typically administrators; a successful injection could pivot to admin session actions, which raises the practical consequence somewhat above what the 5.1 score alone suggests. |
| Exploit ScenarioDerived | A low-privileged but authenticated IPFire web-UI user submits a POST to /cgi-bin/logs.cgi/firewalllogip.dat setting the pienumber parameter to a malicious JavaScript payload while updating the default firewall IP search values. The payload is stored server-side and later executes in the browser of any other user - typically an administrator - who views the affected firewall log page, enabling session actions in the admin context. No public exploit code was identified at time of analysis, so an attacker would need to craft the payload themselves. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
Stored cross-site scripting (XSS) in IPFire 2.29 before Core Update 198 allows an authenticated web-interface user to inject JavaScript through the pienumber parameter when updating default firewall IP search values; the payload is stored and later rendered without sanitization when another user views the affected firewall log page. Exploitation requires a valid IPFire account able to issue the POST to /cgi-bin/logs.cgi/firewalllogip.dat and a second user, typically an administrator, to load the affected page, so impact is limited to the victim's browser/session context rather than the firewall OS. EPSS is low at 0.48% (40th percentile), no public exploit is identified at time of analysis, and no CISA KEV active exploitation is indicated in the available data.
RemediationAI
Upgrade to IPFire 2.29 Core Update 198 or later; vendor-released patch: 2.29 Core Update 198, per the IPFire blog and Bugzilla references. Until patched, restrict access to the IPFire web interface and especially /cgi-bin/logs.cgi/firewalllogip.dat to trusted management networks or VPN, because exposing the UI broadens the set of potential low-privileged injectors and victims (trade-off: less convenient remote administration). Enforce least privilege and avoid granting web-interface accounts to users who do not need log/default management, since the injection requires an authenticated account able to update the default firewall IP search values; audit and remove unnecessary accounts. Monitor for unexpected changes to firewall log search defaults and for suspicious script content in stored configuration, and consider limiting administrator browsing of firewall log pages from high-risk networks until the update is applied (trade-off: reduced operational visibility during the interim). See https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released and https://bugzilla.ipfire.org/show_bug.cgi?id=13881.
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's web interface is implemented through CGI endpoints under /cgi-bin, and logs.cgi/firewalllogip.dat handles updates to the default number of firewall-log IP entries via the pienumber POST parameter. The value is persisted and later included in HTML without proper output encoding, which is the classic CWE-79 stored XSS pattern: attacker-controlled data crosses from a configuration store into another user's browser. The independent assessment maps this to CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, reflecting network reachability, low-privilege authentication, required victim interaction, and limited confidentiality/integrity impact in the browser scope; the supplied CVSS 4.0 vector likewise shows PR:L and UI:P. CPE data identifies IPFire 2.29 Core Updates 183 through 191 and a wildcard all-versions entry as affected, with the fix in Core Update 198.
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
Network-reachable web UI but requires an authenticated low-priv account (PR:L) and a victim viewing the page (UI:R); stored XSS crosses into the victim's browser context (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 pienumber parameter when updating the default firewall IP search values. When a user updates these defaults, the application issues an HTTP POST request to /cgi-bin/logs.cgi/firewalllogip.dat with the default number of IPs in the pienumber parameter. The value of this parameter is 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 page.
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