IPFire
CVE-2025-34309
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged user
-
DeliveryPOST crafted payload to /cgi-bin/ddns.cgi
-
ExploitStore script in SERVICE/LOGIN/PASSWORD fields
-
ExecutionAdmin views or edits DDNS entry
-
PersistScript runs in admin session
-
ImpactHijack session / alter firewall config
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 (1) an authenticated account on the IPFire web interface with permission to create or edit Dynamic DNS hosts (PR:L), and (2) a second user - in practice an administrator - subsequently viewing the host list (which renders the SERVICE value) or opening the malicious entry for editing (which renders the LOGIN and PASSWORD values), satisfying the passive user-interaction requirement (UI:P). The specific attack surface is the Dynamic DNS configuration page backed by /cgi-bin/ddns.cgi, where the SERVICE, LOGIN, and PASSWORD parameters are stored and later echoed without sanitization or output encoding. Limiting factors: attacker needs valid credentials to the admin UI (not remote-unauthenticated), the payload only fires when another user browses or edits the affected DDNS entry, and impact is confined to the subsequent user's browser context (SC:L/SI:L) rather than direct firewall host compromise. |
| Impact | This is a medium-severity stored XSS (CVSS 4.0 base 5.1, CWE-79) with signals that largely agree it is a secondary rather than top-tier priority. The CVSS 4.0 vector shows network attack vector (AV:N) and low complexity (AC:L) but requires an authenticated attacker (PR:L) and passive user interaction (UI:P), with no impact to the vulnerable system's own confidentiality/integrity/availability (VC:N/VI:N/VA:N) and only low subsequent-system confidentiality and integrity impact (SC:L/SI:L) - consistent with script execution in another admin's browser session rather than direct host compromise. Exploitation status: no public exploit identified at time of analysis (no KEV listing, no POC referenced in sources). The one notable tension is EPSS: 5.32% probability sits in the 93rd percentile, which is elevated for a stored XSS that is authenticated and interaction-dependent - this high percentile likely reflects the vulnerability class and public VulnCheck/vendor disclosure rather than confirmed widespread exploitation, so treat it as a prioritization nudge, not evidence of active attacks. Net: a real but gated issue - meaningful because the affected context is a firewall admin interface, where XSS against an administrator can escalate to configuration changes, but not a drop-everything flaw given it requires an existing authenticated (low-privilege) foothold plus a victim viewing the malicious DDNS entry. |
| Exploit ScenarioDerived | An authenticated low-privilege IPFire user creates or edits a Dynamic DNS host and injects JavaScript into the SERVICE, LOGIN, or PASSWORD fields via a POST to /cgi-bin/ddns.cgi. The payload is stored and later rendered without sanitization when another user - typically an administrator - views the host list (SERVICE) or opens the entry for editing (LOGIN/PASSWORD), executing the script in that user's authenticated session. No public exploit code is identified, but the injection path is simple and well-described, giving low attack complexity (AC:L). |
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 before 2.29 (Core Update 198) allows an authenticated Dynamic DNS administrator to save malicious JavaScript in the SERVICE, LOGIN, and PASSWORD fields, which then runs in another user's browser when the host list or edit page is viewed. The vulnerability is medium severity (CVSS 4.0 base 5.1; independent CVSS 3.1 assessment 6.1) and requires valid web-UI credentials plus victim interaction, so impact is limited to the victim's browser session rather than direct compromise of the firewall host. No public exploit identified at time of analysis; EPSS is 5.32% (93rd percentile), indicating elevated predicted exploitation relative to many CVEs but not confirmed active exploitation.
RemediationAI
Vendor-released patch: upgrade to IPFire 2.29 (Core Update 198) or later; see https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released and https://bugzilla.ipfire.org/show_bug.cgi?id=13884. Until the update is applied, restrict access to the IPFire web management interface to trusted administrator networks and limit Dynamic DNS create/edit privileges to accounts that require them, recognizing that this reduces exposure but does not eliminate risk from an authorized malicious user. Review existing Dynamic DNS entries for unexpected SERVICE, LOGIN, or PASSWORD content and remove or correct suspicious entries; after upgrading, re-save legitimate entries to ensure clean rendering. Additional advisory context is at https://www.vulncheck.com/advisories/ipfire-stored-xss-via-dynamic-dns-host.
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
The root cause is CWE-79 stored cross-site scripting in IPFire's Dynamic DNS configuration workflow backed by /cgi-bin/ddns.cgi. When a DDNS host is created, the application accepts POST parameters SERVICE, LOGIN, and PASSWORD and persists them; SERVICE is later rendered in the host listing and LOGIN/PASSWORD are rendered when editing the entry, without proper output encoding or sanitization. CPE data identifies cpe:2.3:a:ipfire:ipfire:*:*:*:*:*:*:*:* and enumerates IPFire 2.29 core_update183 through core_update191, while the vendor advisory places the fix at Core Update 198, so releases before that update are in scope. Because the payload is stored server-side, it becomes persistent XSS in the administrative UI; exploitation requires an authenticated account able to create or edit DDNS entries and a second user who views or edits the entry, and script execution is constrained to that user's browser context rather than the firewall host.
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 injects stored script (PR:L), fires when another user views the page (UI:R), crossing 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 SERVICE, LOGIN, and PASSWORD parameters when creating or editing a Dynamic DNS host. When a new Dynamic DNS host is added, the application issues an HTTP POST request to /cgi-bin/ddns.cgi and saves the values of the LOGIN, PASSWORD, and SERVICE parameters. The SERVICE value is displayed after the host entry is created, and the LOGIN and PASSWORD values are displayed when that host entry is edited. 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 or edit the affected Dynamic DNS entries.
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's web management interface (versions prior to 2.29 Core Update 198) lets an authen
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB