Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-34177: CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') in Netgate pfSense CE

0
Medium
VulnerabilityCVE-2025-34177cvecve-2025-34177cwe-79
Published: Tue Sep 09 2025 (09/09/2025, 20:19:09 UTC)
Source: CVE Database V5
Vendor/Project: Netgate
Product: pfSense CE

Description

In pfSense CE /suricata/suricata_flow_stream.php, the value of the policy_name parameter is not sanitized of HTML-related strings/characters before being directly displayed. This can result in stored cross-site scripting. The attacker must be authenticated with at least "WebCfg - Services: suricata package" permissions.

AI-Powered Analysis

AILast updated: 09/17/2025, 01:11:23 UTC

Technical Analysis

CVE-2025-34177 is a medium-severity stored Cross-Site Scripting (XSS) vulnerability affecting Netgate's pfSense CE version 7.0.8_2, specifically within the Suricata package interface at the /suricata/suricata_flow_stream.php endpoint. The vulnerability arises because the 'policy_name' parameter is not properly sanitized for HTML or script content before being rendered on the web page. This improper neutralization of input (CWE-79) allows an authenticated attacker, who has at least 'WebCfg - Services: suricata package' permissions, to inject malicious scripts that are stored and subsequently executed in the context of other users viewing the affected page. The vulnerability does not require user interaction beyond authentication, and the attacker does not need elevated privileges beyond the specified web configuration permission. The CVSS 4.0 score is 5.1, reflecting a medium severity with network attack vector, low complexity, no privileges required beyond limited authentication, and partial confidentiality impact. No known exploits are currently reported in the wild, and no patches have been linked yet. The vulnerability could be leveraged to perform session hijacking, defacement, or other malicious actions within the pfSense web interface, potentially compromising administrative control or leaking sensitive information.

Potential Impact

For European organizations using pfSense CE 7.0.8_2 with the Suricata package enabled, this vulnerability poses a risk to the integrity and confidentiality of their firewall management interfaces. Successful exploitation could allow attackers to execute arbitrary JavaScript in the context of the pfSense web UI, potentially leading to session hijacking, unauthorized configuration changes, or leakage of sensitive network information. Since pfSense is widely used in small to medium enterprises and some larger organizations for firewall and routing, exploitation could disrupt network security management. The requirement for authenticated access with specific permissions limits the attack surface to insiders or compromised accounts, but insider threats or credential theft remain realistic risks. Given the critical role of pfSense in perimeter defense, any compromise could have cascading effects on network availability and security posture. European organizations with strict regulatory requirements (e.g., GDPR) could face compliance issues if such vulnerabilities lead to data breaches or unauthorized access.

Mitigation Recommendations

1. Immediately restrict access to the pfSense web interface to trusted administrators and enforce strong authentication mechanisms, including multi-factor authentication (MFA) where possible. 2. Limit the number of users with 'WebCfg - Services: suricata package' permissions to the minimum necessary. 3. Monitor and audit user activities within the pfSense web UI to detect suspicious behavior indicative of exploitation attempts. 4. Implement web application firewall (WAF) rules to detect and block malicious payloads targeting the Suricata package interface. 5. Until an official patch is released, consider disabling the Suricata package or restricting its web configuration access if feasible. 6. Educate administrators about the risks of stored XSS and encourage immediate reporting of any unusual interface behavior. 7. Regularly check for updates from Netgate and apply patches promptly once available. 8. Conduct internal penetration testing focusing on authenticated web interface vulnerabilities to identify similar issues proactively.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulnCheck
Date Reserved
2025-04-15T19:15:22.567Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 68c08cadbf8644e23a9d221b

Added to database: 9/9/2025, 8:23:09 PM

Last enriched: 9/17/2025, 1:11:23 AM

Last updated: 10/30/2025, 2:19:26 PM

Views: 27

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats