Skip to main content

IPFire CVE-2025-34308

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 interface
  2. Exploit
    POST payload via UPDATE_VALUE to time.cgi
  3. Execution
    Script stored on Time Server page
  4. Impact
    Admin views page, script executes in 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

Requires an authenticated session on the IPFire web management interface with sufficient access to submit the Time Server configuration form - specifically the ability to send an HTTP POST to /cgi-bin/time.cgi carrying the UPDATE_VALUE parameter used for the default time synchronization value. Exploitation additionally requires that another user (e.g., an administrator) subsequently loads the affected Time Server configuration page for the stored payload to execute (UI:P). Limiting factors: valid web interface credentials are mandatory (not unauthenticated), the attack is a second-order/stored XSS that only fires on victim page view rather than instantly, and there is no direct compromise of the underlying firewall host - impact is confined to the browser/session context of the viewing user. Affects IPFire versions prior to 2.29 Core Update 198.

Impact

This is a genuinely moderate-to-low priority issue, not an urgent one. The CVSS 4.0 score of 5.1 (medium) is driven by a network attack vector with low complexity, but it is tempered by two meaningful constraints: it requires an authenticated attacker (PR:L) and passive user interaction (UI:P) - a victim must actually view the Time Server configuration page for the stored payload to fire. There is no impact to the vulnerable system itself (VC:N/VI:N/VA:N); the only impact is to subsequent systems (SC:L/SI:L) - i.e., the browser/session of another user viewing the page, which is typical of stored XSS. The EPSS score of 0.48% (40th percentile) is low, indicating no significant real-world exploitation activity or chatter. The CVE is NOT on the CISA KEV list and no public exploit code was identified in the provided data, so all exploitation signals are consistent and point the same direction: this is a real but low-urgency defensive-patch issue, not an actively exploited threat. The signals do not conflict. The main residual risk is privilege escalation within the appliance - a lower-privileged authenticated web user could use the stored script to act in the context of a full administrator who views the page.

Exploit ScenarioDerived

A low-privileged but authenticated IPFire web interface user submits an HTTP POST to /cgi-bin/time.cgi with a malicious JavaScript payload placed in the UPDATE_VALUE parameter while updating the Time Server synchronization settings. The value is stored unsanitized and later rendered on the Time Server configuration page, so when an administrator or other user opens that page, the injected script executes in their browser session. No public exploit code was identified at time of analysis, but exploitation is straightforward for anyone with valid web interface credentials.

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 the IPFire firewall's web management interface (Time Server configuration page) lets an authenticated web-UI user inject arbitrary JavaScript through the UPDATE_VALUE parameter of a POST to /cgi-bin/time.cgi, which is persisted and later rendered unsanitized to anyone who opens that page. Affected releases are IPFire 2.29 Core Update 183 through 197 (all builds prior to Core Update 198), and the payload only fires when a second user - typically an administrator - views the Time Server page, so impact is limited to browser/session context rather than the firewall host itself. Exploitation requires valid web-interface credentials; there is no public exploit identified at time of analysis, EPSS is a low 0.48% (40th percentile), and the issue is not confirmed actively exploited (not in CISA KEV), making this a moderate-to-low priority hardening item.

RemediationAI

Apply the vendor-released patch by upgrading IPFire to 2.29 Core Update 198 or later (the fix ships in that core update per https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released and https://bugzilla.ipfire.org/show_bug.cgi?id=13883); upgrades are performed from the IPFire web UI or via pakfire and require a reboot to complete, so schedule a maintenance window. Where immediate upgrade is not possible, compensating controls are: restrict reachability of the management interface (default port 444) to a trusted administrative VLAN or VPN with firewall rules or the IPFire 'allowed networks' setting - trade-off is loss of remote admin convenience; temporarily avoid creating non-administrative web-UI accounts and audit existing ones, since the injection requires an authenticated account - trade-off is reduced operational delegation; and instruct administrators to avoid opening the Time Server configuration page until patched and to log out of the web UI when not in use, which limits but does not eliminate the stored payload firing. Note that disabling the NTP/Time Server page entirely is not supported without customizing the CGI, and any mitigation other than the Core Update 198 upgrade leaves the stored value in place until it is overwritten.

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 hardened Linux-based firewall/router distribution whose administration is performed through a CGI-driven web interface (historically on port 444). The Time Server page stores the default NTP synchronization value by issuing an HTTP POST to /cgi-bin/time.cgi with the value carried in the UPDATE_VALUE parameter; that input is persisted and re-rendered into the HTML of the configuration page without output encoding. This is a classic CWE-79 second-order (stored) cross-site scripting condition: the tainted data enters through a form submission and is neutralized neither on input nor on output, so script executes in the origin of the management UI. Because the CGI runs in the appliance's web server context, a successful payload runs with the victim's session privileges against the admin interface, giving a path to actions such as CSRF-style configuration changes or session/credential theft from the browser - but it does not by itself yield code execution on the underlying firewall OS. The assessed CVSS 3.1 vector AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N correctly captures the scope change (S:C) into the victim's browser and the requirement for a low-privileged authenticated account plus victim page interaction, while the NVD CVSS 4.0 score of 5.1 with AT:N and PR:L is consistent with the same prerequisites.

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 web user injects the payload so PR:L; a victim must view the page so UI:R; stored XSS executing in another user's browser is a scope change (S:C) with limited confidentiality and integrity impact only.

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 UPDATE_VALUE parameter when updating the default time synchronization settings. When the default values displayed on the Time Server page are updated, the application issues an HTTP POST request to /cgi-bin/time.cgi, and the synchronization value is provided in the UPDATE_VALUE 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 Time Server configuration page.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Medium
popular open-source Linux firewall, moderate but non-ubiquitous deployment
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