Squid FTP issue
-
Problem: Fixed in version: | Squid 7.7
Due to a Improper Validation of Syntactic Correctness
bug Squid is vulnerable to a Command Injection
attack against FTP Gateway.
Severity:
This problem allows a trusted client to perform Command
Injection when accessing an ftp:// URL. Allowing the client
access to files, directories and features of the FTP server
normally forbidden by Squid security policy.Workaround:
Forbid access to FTP Gateway by placing the below settings
before any "http_access allow" lines in squid.conf:acl FTP proto FTP
http_access deny FTPAlso, remove from squid.conf the line:
acl Safe_ports port 21acl FTP proto FTP http_access deny FTP acl BlockPort21 port 21 http_access deny BlockPort21Reference: [squid-announce] [ADVISORY] SQUID-2026:9 FTP command injection in FTP gateway from "squid-announce@lists.squid-cache.org" squid-announce@lists.squid-cache.org
Privacy Policy · Cookie Policy