Skip to main content

IPFire CVE-2025-34310

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. Exploit
    POST crafted script in QoS speed/class parameter
  3. Execution
    Payload stored and rendered to other users
  4. Impact
    Script executes in admin browser context

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 session with privileges to update IPFire's Quality of Service (QoS) settings (PR:L), submitting the payload via an HTTP POST to /cgi-bin/qos.cgi in the INC_SPD, OUT_SPD, DEFCLASS_INC, or DEFCLASS_OUT parameters, which are stored without proper sanitization or output encoding. The stored script only fires when another user - typically an administrator - subsequently navigates to and views the affected QoS entries in the web interface (UI:P, passive interaction). Limiting factors: valid authentication is mandatory, a second victim user must view the QoS page, and impact is confined to the web-UI browser context (no direct host confidentiality/integrity/availability impact); the flaw is fully remediated in Core Update 198.

Impact

This is a genuine but moderate-priority issue, best characterized as a high-visibility-but-low-real-risk flaw relative to critical bugs. The only CVSS vector provided is CVSS 4.0 (5.1, Medium): AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N - network-reachable with low complexity, but requiring low-level authentication (PR:L) and passive user interaction (UI:P), with no impact on the vulnerable system itself and only Low confidentiality/integrity impact on a subsequent system (the victim's browser). No CVSS 3.1 vector was supplied. EPSS is 0.48% (40th percentile) - low exploitation probability, consistent with a stored XSS requiring prior authentication rather than a mass-exploitable remote flaw. This is NOT in CISA KEV and no public exploit code was provided, so exploitation status is 'no public exploit identified at time of analysis.' No SSVC decision data was provided. The signals are internally consistent: a low-impact, authenticated, interaction-dependent web flaw with low EPSS and no active-exploitation evidence. The main risk nuance is privilege escalation/lateral movement - a lower-privileged authenticated user could target a higher-privileged administrator who views the QoS page.

Exploit ScenarioDerived

A low-privileged but authenticated IPFire user with access to the QoS configuration submits a POST to /cgi-bin/qos.cgi containing a malicious JavaScript payload in the INC_SPD, OUT_SPD, DEFCLASS_INC, or DEFCLASS_OUT parameter. The payload is stored and later executes in the browser of any administrator who views the affected QoS entries, potentially hijacking their authenticated session or performing actions in the admin web UI. No public exploit code was identified, so exploitation would require an attacker to craft the payload themselves.

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 Quality of Service configuration page (/cgi-bin/qos.cgi) lets an authenticated user with QoS editing rights persist arbitrary JavaScript through the INC_SPD, OUT_SPD, DEFCLASS_INC, and DEFCLASS_OUT parameters, which are saved and later rendered unencoded in the admin web interface. The payload executes in the browser of any other user - typically a full administrator - who subsequently views the affected QoS entries, giving the attacker a path to act with the victim's privileges inside the firewall UI. Exploitation requires valid credentials plus a victim who views the page; there is no indication of in-the-wild exploitation, no public exploit code identified at time of analysis, and EPSS is low at 0.48% (40th percentile), so this is best treated as a moderate-priority hardening item rather than an emergency.

RemediationAI

Vendor-released patch: IPFire 2.29 Core Update 198. Upgrade immediately via the web UI's package update function or by running pakfire update on the firewall; the Core Update 198 release announcement (https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released) and the upstream bug (https://bugzilla.ipfire.org/show_bug.cgi?id=13883) document the fix, and after upgrading, re-save the QoS page and inspect any pre-existing INC_SPD/OUT_SPD/DEFCLASS_INC/DEFCLASS_OUT values for injected markup, since stored payloads persist in configuration until overwritten. If the update cannot be applied promptly, reduce exposure by restricting the admin web interface (default TCP 444, or whatever port is configured) to a trusted management network or VPN via firewall rules - accepting that this blocks remote administration from all other sources - and by withholding QoS configuration privileges from non-administrative or semi-trusted accounts so the injector and the victim are not two different users. Operators can also review the QoS page in a browser profile that is not logged into the admin UI, and avoid visiting the QoS page while untrusted users retain write access. Note that EPSS is only 0.48% (40th percentile) and no public exploit has been identified, so prioritization can follow normal patch cadence for internet-exposed or multi-operator deployments.

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 open-source firewall/router distribution whose entire management plane is a Perl/CGI web application served from /cgi-bin/. The QoS module handles POST submissions to qos.cgi, persisting incoming/outgoing bandwidth values and default traffic classes into configuration state and re-rendering those stored values on the QoS configuration page. The flaw is CWE-79 (improper neutralization of input during web page generation) in its stored variant: no output encoding is applied on the reflected values, so markup and script survive the round trip through the config and execute under the admin origin. Because the administrative UI is same-origin privileged, injected script can read the page, alter firewall/QoS settings, or perform actions on behalf of the logged-in operator; however, per the independent assessment (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) the impact is confined to the web-UI browser context with no direct host confidentiality, integrity, or availability effect. The CPE data enumerates IPFire 2.29 builds through core_update191 plus a wildcard ipfire entry, and the vendor states the issue is fully remediated in Core Update 198, so all builds prior to that update should be considered exposed.

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 6.4 MEDIUM

Authenticated attacker stores the payload (PR:L, no attacker UI needed), script executes in another user's browser so scope changes (S:C) with Low confidentiality/integrity and no availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/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 INC_SPD, OUT_SPD, DEFCLASS_INC, and DEFCLASS_OUT parameters when updating Quality of Service (QoS) settings. When a user updates speeds or classes, the application issues an HTTP POST request to /cgi-bin/qos.cgi and the values for incoming/outgoing speeds and default classes are provided in the INC_SPD, OUT_SPD, DEFCLASS_INC, and DEFCLASS_OUT parameters. 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 the affected QoS entries.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Low
niche open-source firewall distribution, limited enterprise footprint
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