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.
Problem types
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
4.1.6_25 (custom)
Credits
Alex Williams (Pellera Technologies)
References
github.com/...ommit/d6f462bcc446969f8955c16cfde300d5c9ab7435
redmine.pfsense.org/issues/16412
www.vulncheck.com/...ectory-traversal-information-disclosure