Description
In pfSense CE /suricata/suricata_ip_reputation.php, the value of the iplist parameter is not sanitized of directory traversal-related strings/characters. This value is directly used in a file existence check operation. While the contents of the file cannot be read, the server reveals whether the file exists, which enables an attacker to enumerate files on the target. The attacker must be authenticated with at least "WebCfg - Services: suricata package" permissions.
Problem types
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
7.0.8_2 (custom)
Credits
Alex Williams (Pellera Technologies)
References
github.com/...ommit/97852ccfd201b24ee542be30af81272485fde0b4
redmine.pfsense.org/issues/16414
www.vulncheck.com/...ectory-traversal-information-disclosure