IPFire 2.29 Reflected Cross-Site Scripting Vulnerability in DNS Management Interface

Vulnerability

A reflected cross-site scripting vulnerability has been identified in IPFire 2.29 within the DNS management interface (dns.cgi). The issue arises because the application fails to properly sanitize user input in the NAMESERVER, REMARK, and TLS_HOSTNAME query parameters. This lack of input validation allows for the injection of malicious scripts that are reflected back to the user.

Impact

Exploitation of this vulnerability allows for reflected cross-site scripting, where an attacker can inject malicious scripts that are executed in the context of the user's browser.

Reproduction

To reproduce this vulnerability, access the DNS management interface at 'https://<IPFire_IP>:444/cgi-bin/dns.cgi'. Inject a script into one of the vulnerable query parameters: NAMESERVER, REMARK, or TLS_HOSTNAME. The injected script will be executed, demonstrating the cross-site scripting vulnerability.

Added: Aug 26, 2025, 6:23 PM
Updated: Aug 26, 2025, 6:23 PM

Vulnerability Rating

Custom Algorithm
spread
4.5
impact
1.7
exploitability
7.4
remediation
0.0
relevance
0.4
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.