Skip to main content

IPFire CVE-2025-34313

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 to IPFire web UI
  2. Delivery
    POST crafted QUOTA_USERS to urlfilter.cgi
  3. Exploit
    Store XSS in user quota rule
  4. Execution
    Admin views quota 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 an authenticated IPFire web-interface account (PR:L) with permission to create user quota rules under the URL filter feature; the attacker submits an HTTP POST to /cgi-bin/urlfilter.cgi with MODE=USERQUOTA and a JavaScript payload in the QUOTA_USERS parameter. The payload is inert until a second condition is met: another user - typically an administrator - must open and render the affected quota entry in the web UI (UI:P/passive interaction), at which point the unsanitized value executes in their session context. Limiting factors: no anonymous/unauthenticated path (firewall admin panel access is prerequisite), dependence on a victim viewing the stored entry, and exposure only to whoever can reach the IPFire management interface - which is usually network-restricted rather than internet-facing. Only versions on the 2.29 branch before Core Update 198 are affected.

Impact

This is a stored XSS (CWE-79) in IPFire's web interface that sits firmly in the moderate-but-not-urgent category. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N, score 5.1) is internally consistent with the description: network-reachable, low complexity, but requiring existing authentication (PR:L) and passive victim interaction (UI:P) - another authenticated operator must view the malicious quota entry for the payload to fire. Impact lands on a subsequent system (the victim's browser session, SC:L/SI:L) rather than the vulnerable host itself (VC/VI/VA:N), which caps the raw severity. The EPSS score of 0.48% (40th percentile) is low and consistent with this picture - no mass-exploitation pressure. There is no CISA KEV listing and no public proof-of-concept referenced, so exploitation status is 'no public exploit identified at time of analysis.' The signals do not conflict: a low-privilege, interaction-dependent, admin-panel-only XSS with low EPSS is a genuine patch-in-normal-cadence issue, not an emergency. The main nuance worth flagging is that the required privilege (an account able to create user quota rules on a firewall) is typically already an administrative/trusted account, so the realistic threat model is privilege-boundary crossing or a lower-tier/sub-admin operator attacking a higher-tier admin, not anonymous internet exploitation.

Exploit ScenarioDerived

A lower-privileged but authenticated IPFire web-UI user with access to the URL filter creates a user quota rule, injecting JavaScript into the QUOTA_USERS field via a POST to /cgi-bin/urlfilter.cgi (MODE=USERQUOTA). When a firewall administrator later opens the quota view, the stored script executes in their authenticated session, enabling actions such as CSRF-style configuration changes or session/token theft within the admin panel. No public exploit code is referenced, so an attacker would craft the payload manually, and success depends on an admin actually viewing the affected entry.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.5% 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's URL filter user-quota interface lets an authenticated web-interface user inject JavaScript through the QUOTA_USERS parameter when creating a quota rule, which is then stored and rendered without proper encoding for other users who view the entry. The affected releases are IPFire versions prior to 2.29 (Core Update 198), and exploitation requires access to the management interface plus a victim, typically an administrator, opening the affected quota entry; this is a moderate-risk issue rather than an unauthenticated or internet-facing remote compromise. No public exploit identified at time of analysis, and the EPSS score is 0.48% (40th percentile).

RemediationAI

Vendor-released patch: upgrade to IPFire 2.29 (Core Update 198) or later via the normal IPFire core-update process and confirm the reported version in the web interface. If upgrade cannot be applied immediately, restrict access to the IPFire web management interface to trusted administrative networks or VPN, which lowers exposure but does not remove stored payloads; review and remove any suspicious user quota rules in the URL filter configuration, especially entries with unexpected QUOTA_USERS values; and limit creation of quota rules to trusted accounts. Disabling the URL-filter user-quota feature, if operationally acceptable, removes the vulnerable input path but also removes quota enforcement. See https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released, https://bugzilla.ipfire.org/show_bug.cgi?id=13888, and https://www.vulncheck.com/advisories/ipfire-stored-xss-via-user-quota-rule-url-filter.

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 the IPFire web management CGI. A user with permission to configure URL-filter user quotas issues an HTTP POST to /cgi-bin/urlfilter.cgi with MODE=USERQUOTA and attacker-controlled content in QUOTA_USERS; the server persists that value and later writes it into the web interface without HTML encoding or output sanitization. The script executes in the browser context of a different user who views the quota entry, giving the attacker limited scripted actions under that viewer's session rather than server-side code execution. The supplied CVSS 4.0 vector is 5.1 with PR:L and UI:P, and the independent CVSS 3.1 assessment matches the same prerequisites: authenticated access to the URL-filter quota feature and a second user's interaction. CPE data identifies IPFire 2.29 Core Updates 183 through 191 and earlier 2.29-branch builds before Core Update 198 as affected; the bug tracker and vendor release blog provide the fix context.

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 quota-rule creation sets PR:L, stored payload needs a victim to view it (UI:R), execution in another user's browser crosses scope (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 QUOTA_USERS parameter when creating a user quota rule. When a user adds a new user quota rule the application issues an HTTP POST request to /cgi-bin/urlfilter.cgi with the MODE parameter set to USERQUOTA and the assigned user(s) provided in the QUOTA_USERS 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 quota entry.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Medium
popular open-source firewall among SMB/home labs, 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 0.5%
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

26
Low Medium High Critical
KEV: 0
EPSS: 0
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-34309 MEDIUM
5.1 Oct 28

Stored cross-site scripting in IPFire before 2.29 (Core Update 198) allows an authenticated Dynamic DNS administrator to

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