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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy