Skip to main content

IPFire CVE-2025-34315

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 payload in REMOTELOG_ADDR to logs.cgi/config.dat
  3. Exploit
    Script stored in config
  4. Execution
    Victim admin views logging page
  5. Impact
    JavaScript executes in their 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

Exploitation requires an authenticated session on the IPFire web interface with access to the Remote Logging / Syslog settings, and the attacker must inject the payload via the REMOTELOG_ADDR parameter in the POST to /cgi-bin/logs.cgi/config.dat. It is a stored/persistent XSS, so it does not fire immediately: a second privileged user must subsequently open the affected logging configuration page for the injected script to execute (passive user interaction, UI:P). These factors - prior authentication, access to a specific admin settings page, and reliance on another user viewing the page - materially limit realistic exploitation to scenarios with multiple admin users or a lower-privileged user escalating against a higher-privileged viewer.

Impact

This is a genuine but low-severity issue best characterized as a high-noise, low-real-risk finding rather than an urgent priority. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N, score 5.1) is internally consistent with a stored XSS: no impact on the vulnerable system itself (VC/VI/VA:N) but low confidentiality and integrity impact on a subsequent system (SC:L/SI:L) - i.e. the victim's browser session. The key limiting signals all point the same way: exploitation requires an authenticated attacker (PR:L) who can already reach the IPFire logging configuration page, and it requires passive user interaction (UI:P) - another privileged user must view the poisoned configuration page for the payload to fire. EPSS is low at 0.45% (37th percentile), there is no CISA KEV listing, and no public exploit code is referenced, so this is not under active exploitation. The description text is well-aligned with the CVSS vector (authenticated injection, deferred rendering to other users), with no material conflicts. Net: real and patch-worthy, but a self-contained admin-panel XSS on a firewall management interface - low urgency absent evidence of exploitation.

Exploit ScenarioDerived

An authenticated IPFire administrator (or a lower-privileged account with access to the logging settings) submits an HTTP POST to /cgi-bin/logs.cgi/config.dat with a JavaScript payload in the REMOTELOG_ADDR field while configuring the remote syslog server. The value is stored unsanitized and executes in the browser of any other administrator who later opens the affected configuration page, enabling session/action abuse within the web UI. No public proof-of-concept is referenced, and successful exploitation depends on a second privileged user viewing the page.

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 – Sep 26, 2026

Stored cross-site scripting in IPFire (all releases prior to 2.29 Core Update 198) allows an authenticated user with access to the Remote Logging settings to inject arbitrary JavaScript through the REMOTELOG_ADDR parameter of the POST to /cgi-bin/logs.cgi/config.dat; the value is persisted and later rendered in the Syslog configuration page without encoding, so the script executes in the browser of any user who views it. Exploitation requires a prior authenticated session (CVSS vector PR:L), access to that specific admin settings page, and a second user subsequently opening the affected page (UI:P), which is why the independent assessment treats this as a genuine but low-severity, high-noise finding rather than an urgent priority. No public exploit code was identified at time of analysis and EPSS is low at 0.45% (37th percentile); the issue is not in CISA KEV. Vendor-released patch: IPFire 2.29 Core Update 198.

RemediationAI

Upgrade to IPFire 2.29 Core Update 198, the release in which the stored XSS in the Remote Logging configuration is fixed; installations on the 2.29 branch at Core Update 183 through 191 should update through the normal Pakfire update mechanism, and the change is described in the vendor announcement at https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released with tracking details at https://bugzilla.ipfire.org/show_bug.cgi?id=13890. If immediate patching is not possible, compensating controls should target the preconditions rather than the payload: restrict access to the IPFire web administration interface (TCP 444 by default on the firewall's management network) to a trusted management VLAN or VPN and block it from untrusted networks, which prevents both the injection step and the victim's page view but does not remediate the underlying missing output encoding and adds operational friction for remote administrators; alternatively, limit the number of accounts with permission to reach the Remote Logging / Syslog settings page so that only highly trusted operators can trigger injection, though this does not protect a higher-privileged viewer from a lower-privileged injector; and audit the stored remote syslog address field for unexpected characters after any untrusted user has had access to the configuration page, since a previously stored payload continues to render until it is cleared or the system is updated. No public exploit code was identified at time of analysis and EPSS is low (0.45%, 37th percentile), so scheduling the update within a normal maintenance window is reasonable for most 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 firewall/router distribution whose administration is performed through a Perl/CGI web interface served by the underlying web server. The flaw is a classic CWE-79 persistent (stored) cross-site scripting issue: when an operator saves the Remote Logging Syslog server address, the application POSTs to /cgi-bin/logs.cgi/config.dat with the address in the REMOTELOG_ADDR parameter, and that value is written into the configuration store without sanitization. It is later interpolated into the HTML of the logging configuration view without HTML-entity encoding or output escaping, so any markup or script tags in the stored value are interpreted by the viewer's browser in the origin of the IPFire admin UI. Because the sink is a config page rather than an error/echo endpoint, execution is deferred until a user loads that page, making this a passive, interaction-dependent XSS rather than immediate reflected execution. CPE data enumerates affected builds as ipfire:ipfire 2.29 with core_update183 through core_update191, plus a wildcard cpe:2.3:a:ipfire:ipfire:* entry indicating earlier Core Updates are also in scope; the fix landed in Core Update 198 (IPFire 2.29). The vulnerability class is well understood and the realistic impact is limited to script execution inside an authenticated admin session (the affected page is behind the admin login), consistent with the low confidentiality/integrity impact and scope change reflected in the assessed CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N vector.

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 injection (PR:L) via network UI, requires a victim to view the page (UI:R), script escapes into another user's browser context (S:C) with low confidentiality/integrity 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 REMOTELOG_ADDR parameter when updating the remote syslog server address. When a user updates the Remote logging Syslog server, the application issues an HTTP POST request to /cgi-bin/logs.cgi/config.dat and the server address is provided in the REMOTELOG_ADDR 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 configuration page.

Threat Intelligence Overview

EPSS Score
0.5%
Top 63% exploitable
Prevalence
Low
niche open-source firewall distro, homelab/SMB use, no broad 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