Skip to main content

IPFire CVE-2025-34309

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-28 disclosure@vulncheck.com
5.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged user
  2. Delivery
    POST crafted payload to /cgi-bin/ddns.cgi
  3. Exploit
    Store script in SERVICE/LOGIN/PASSWORD fields
  4. Execution
    Admin views or edits DDNS entry
  5. Persist
    Script runs in admin session
  6. Impact
    Hijack 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).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 5.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (vulncheck) PRIMARY 5.1 MEDIUM
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
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

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

EPSS Score
5.3%
Top 7% exploitable
Prevalence
Low
niche open-source firewall distribution, home/SMB footprint, not enterprise-ubiquitous
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 5.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: +5
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:ipfire:ipfire:*:*:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update183:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update184:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update185:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update186:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update187:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update188:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update189:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update190:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update191:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update192:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update193:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update194:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update195:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update196:*:*:*:*:*:*
cpe:2.3:a:ipfire:ipfire:2.29:core_update197:*:*:*:*:*:*

More in Ipfire

View all
CVE-2017-9757 HIGH POC
8.8 Jun 19

IPFire 2.19 has a Remote Command Injection vulnerability in ids.cgi via the OINKCODE parameter, which is mishandled by a

CVE-2021-33393 HIGH POC
8.8 Jun 09

lfs/backup in IPFire 2.25-core155 does not ensure that /var/ipfire/backup/bin/backup.pl is owned by the root account. Ra

CVE-2018-16232 HIGH POC
8.8 Oct 17

An authenticated command injection vulnerability exists in IPFire Firewall before 2.21 Core Update 124 in backup.cgi. Ra

CVE-2019-25399 MEDIUM POC
6.4 Feb 18

IPFire 2.21 Core Update 127 contains multiple stored cross-site scripting vulnerabilities in the extrahd.cgi script that

CVE-2019-25398 MEDIUM POC
6.1 Feb 18

IPFire 2.21 Core Update 127 contains multiple cross-site scripting vulnerabilities in the ovpnmain.cgi script that allow

CVE-2019-25397 MEDIUM POC
6.1 Feb 18

IPFire 2.21 Core Update 127 contains multiple reflected cross-site scripting vulnerabilities in the hosts.cgi script tha

CVE-2019-25396 MEDIUM POC
6.1 Feb 18

IPFire 2.21 Core Update 127 contains a reflected cross-site scripting vulnerability in the updatexlrator.cgi script that

CVE-2019-25400 MEDIUM POC
5.4 Feb 18

IPFire 2.21 Core Update 127 contains multiple reflected cross-site scripting vulnerabilities in the fwhosts.cgi script t

CVE-2025-34312 HIGH
8.7 Oct 28

Command injection in the IPFire URL filter allows an authenticated administrator to execute arbitrary shell commands as

CVE-2025-34311 HIGH
8.7 Oct 28

Authenticated command injection in the IPFire firewall distribution prior to 2.29 (Core Update 198) lets a low-privilege

CVE-2025-34304 HIGH
7.1 Oct 28

Authenticated SQL injection in IPFire's OpenVPN connection-log viewer allows a management-UI user to alter the SQL query

CVE-2025-34301 MEDIUM
5.1 Oct 28

Stored cross-site scripting in IPFire's web management interface (versions prior to 2.29 Core Update 198) lets an authen

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy