CVE-2025-34316
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-10-28

Last updated on: 2025-11-03

Assigner: VulnCheck

Description
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 txt_mailuser and txt_mailpass parameters when updating the mail server settings. When a user updates the mail server, the application issues an HTTP POST request to /cgi-bin/mail.cgi and the username and password are provided in the txt_mailuser and txt_mailpass 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 mail configuration.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-10-28
Last Modified
2025-11-03
Generated
2026-05-07
AI Q&A
2025-10-28
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 16 associated CPEs
Vendor Product Version / Range
ipfire ipfire to 2.29 (exc)
ipfire ipfire 2.29
ipfire ipfire 2.29
ipfire ipfire 2.29
ipfire ipfire 2.29
ipfire ipfire 2.29
ipfire ipfire 2.29
ipfire ipfire 2.29
ipfire ipfire 2.29
ipfire ipfire 2.29
ipfire ipfire 2.29
ipfire ipfire 2.29
ipfire ipfire 2.29
ipfire ipfire 2.29
ipfire ipfire 2.29
ipfire ipfire 2.29
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a stored cross-site scripting (XSS) issue in IPFire versions prior to 2.29 (Core Update 198). An authenticated attacker can inject arbitrary JavaScript code through the txt_mailuser and txt_mailpass parameters when updating mail server settings. These parameters are stored and later displayed in the web interface without proper sanitization, causing the injected scripts to execute in the context of other users who view the affected mail configuration.


How can this vulnerability impact me? :

The vulnerability can allow an attacker to execute arbitrary JavaScript code in the context of other users viewing the mail server configuration. This can lead to session hijacking, unauthorized actions performed on behalf of users, or theft of sensitive information accessible through the web interface.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

You can detect this vulnerability by monitoring HTTP POST requests to /cgi-bin/mail.cgi and inspecting the txt_mailuser and txt_mailpass parameters for suspicious or unexpected JavaScript code. Since the vulnerability involves stored XSS via these parameters, reviewing the mail server settings update requests for injected scripts can help identify exploitation attempts. Specific commands are not provided in the available information.


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include avoiding updating mail server settings through the vulnerable interface until a patch or update is applied. Restrict access to the mail server settings page to trusted users only, and monitor for suspicious activity related to the txt_mailuser and txt_mailpass parameters. Applying the latest IPFire update (version 2.29 Core Update 198 or later) once available will resolve the issue.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart