CVE-2025-34173: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Netgate pfSense CE
In pfSense CE /usr/local/www/snort/snort_ip_reputation.php, the value of the iplist parameter is not sanitized of directory traversal-related characters/strings before being used to check if a file exists. While the contents of the file cannot be read, the server reveals whether a file exists, which allows an attacker to enumerate files on the target. The attacker must be authenticated with at least "WebCfg - Services: Snort package" permissions.
AI Analysis
Technical Summary
The vulnerability CVE-2025-34173 in pfSense CE 4.1.6_25 involves improper limitation of a pathname to a restricted directory (CWE-22). Specifically, the iplist parameter in the Snort IP reputation PHP script does not sanitize directory traversal sequences before using the parameter to check if a file exists. Although file contents are not exposed, the server's response reveals whether a file exists, enabling an attacker with authenticated access and appropriate Snort package permissions to enumerate files on the system.
Potential Impact
An attacker with authenticated access and "WebCfg - Services: Snort package" permissions can enumerate files on the server by exploiting the path traversal vulnerability. This leads to information disclosure about the presence of files but does not allow reading file contents or further system compromise based on the provided data.
Mitigation Recommendations
No patch or official fix is currently documented for this vulnerability. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to users with "WebCfg - Services: Snort package" permissions and monitor for unauthorized access attempts.
CVE-2025-34173: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Netgate pfSense CE
Description
In pfSense CE /usr/local/www/snort/snort_ip_reputation.php, the value of the iplist parameter is not sanitized of directory traversal-related characters/strings before being used to check if a file exists. While the contents of the file cannot be read, the server reveals whether a file exists, which allows an attacker to enumerate files on the target. The attacker must be authenticated with at least "WebCfg - Services: Snort package" permissions.
CVSS v4.0
Score 5.3medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2025-34173 in pfSense CE 4.1.6_25 involves improper limitation of a pathname to a restricted directory (CWE-22). Specifically, the iplist parameter in the Snort IP reputation PHP script does not sanitize directory traversal sequences before using the parameter to check if a file exists. Although file contents are not exposed, the server's response reveals whether a file exists, enabling an attacker with authenticated access and appropriate Snort package permissions to enumerate files on the system.
Potential Impact
An attacker with authenticated access and "WebCfg - Services: Snort package" permissions can enumerate files on the server by exploiting the path traversal vulnerability. This leads to information disclosure about the presence of files but does not allow reading file contents or further system compromise based on the provided data.
Mitigation Recommendations
No patch or official fix is currently documented for this vulnerability. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to users with "WebCfg - Services: Snort package" permissions and monitor for unauthorized access attempts.
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: 68c0983c9ed239a66bacc0ee
Added to database: 09/09/2025, 21:12:28 UTC
Last enriched: 07/15/2026, 09:52:05 UTC
Last updated: 07/16/2026, 19:47:27 UTC
Views: 441
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.