IPFire
CVE-2025-34308
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to IPFire web interface
-
ExploitPOST payload via UPDATE_VALUE to time.cgi
-
ExecutionScript stored on Time Server page
-
ImpactAdmin 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. |
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 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
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 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.
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 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
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 before 2.29 (Core Update 198) allows an authenticated Dynamic DNS administrator to
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB