Squid Cache FTP Proxy URL Buffer Overflow Vulnerability

BID:4148

Info

Squid Cache FTP Proxy URL Buffer Overflow Vulnerability

Bugtraq ID: 4148
Class: Boundary Condition Error
CVE:
Remote: Yes
Local: No
Published: Feb 21 2002 12:00AM
Updated: Feb 21 2002 12:00AM
Credit: Credited to Jouko Pynnonen <[email protected]> and Henrik Nordstrom <[email protected]>.
Vulnerable: National Science Foundation Squid Web Proxy 2.4 STABLE3
National Science Foundation Squid Web Proxy 2.4 STABLE2-2
+ Caldera OpenLinux Server 3.1.1
- Caldera OpenLinux Workstation 3.1.1
National Science Foundation Squid Web Proxy 2.4 STABLE2
+ Caldera OpenLinux Server 3.1.1
+ Caldera OpenServer 5.0.6
National Science Foundation Squid Web Proxy 2.4 STABLE1
+ HP Secure OS software for Linux 1.0
+ MandrakeSoft Corporate Server 1.0.1
+ MandrakeSoft Single Network Firewall 7.2
+ Mandriva Linux Mandrake 8.0 ppc
+ Mandriva Linux Mandrake 8.0
+ Mandriva Linux Mandrake 7.2
+ Mandriva Linux Mandrake 7.1
+ Redhat Linux 7.2
- SuSE Linux 7.2
National Science Foundation Squid Web Proxy 2.4
+ FreeBSD FreeBSD 5.0
+ FreeBSD FreeBSD 4.5
+ FreeBSD FreeBSD 4.4
+ Trustix Secure Linux 1.5
+ Trustix Secure Linux 1.2
+ Trustix Secure Linux 1.1
National Science Foundation Squid Web Proxy 2.3.1
National Science Foundation Squid Web Proxy 2.3 STABLE5
+ MandrakeSoft Corporate Server 1.0.1
+ MandrakeSoft Single Network Firewall 7.2
+ Mandriva Linux Mandrake 8.0 ppc
+ Mandriva Linux Mandrake 8.0
+ Mandriva Linux Mandrake 7.2
+ Mandriva Linux Mandrake 7.1
+ Trustix Secure Linux 1.5
+ Trustix Secure Linux 1.2
+ Trustix Secure Linux 1.1
National Science Foundation Squid Web Proxy 2.3 STABLE4-11
+ Caldera OpenLinux Server 3.1
- Caldera OpenLinux Workstation 3.1
National Science Foundation Squid Web Proxy 2.3
+ Redhat Linux 7.1 ia64
+ Redhat Linux 7.1 i386
+ Redhat Linux 7.1 alpha
+ Redhat Linux 7.0 i386
+ Redhat Linux 7.0 alpha
+ Redhat Linux 6.2 sparc
+ Redhat Linux 6.2 i386
+ Redhat Linux 6.2 alpha
+ SCO Open Server 5.0.6 a
+ SCO Open Server 5.0.6
+ SCO Open Server 5.0.5
+ SCO Open Server 5.0.4
+ SCO Open Server 5.0.3
+ SCO Open Server 5.0.2
+ SCO Open Server 5.0.1
+ SCO Open Server 5.0
+ SuSE Linux 7.3 sparc
+ SuSE Linux 7.3 ppc
+ SuSE Linux 7.3 i386
+ SuSE Linux 7.2 i386
+ SuSE Linux 7.1 x86
+ SuSE Linux 7.1 sparc
+ SuSE Linux 7.1 ppc
+ SuSE Linux 7.1 alpha
+ SuSE Linux 7.0 sparc
+ SuSE Linux 7.0 ppc
+ SuSE Linux 7.0 i386
+ SuSE Linux 7.0 alpha
+ SuSE Linux 6.4 ppc
+ SuSE Linux 6.4 i386
+ SuSE Linux 6.4 alpha
National Science Foundation Squid Web Proxy 2.2
- Redhat Linux 6.0 sparc
- Redhat Linux 6.0 alpha
- Redhat Linux 6.0
- Redhat Linux 5.2 sparc
- Redhat Linux 5.2 i386
- Redhat Linux 5.2 alpha
National Science Foundation Squid Web Proxy 2.1
National Science Foundation Squid Web Proxy 2.0
Not Vulnerable: National Science Foundation Squid Web Proxy 2.4 STABLE2-3
- Caldera OpenLinux Server 3.1.1
- Caldera OpenLinux Workstation 3.1.1

Discussion

Squid Cache FTP Proxy URL Buffer Overflow Vulnerability

A buffer overflow exists in the Squid proxy server's FTP URL handling.

If a user has the ability to use the Squid process to proxy FTP requests, it may be possible for the user make a malicious request. By sending a custom-crafted ftp:// URL through the squid proxy, it is possible to crash the server, requiring manual restart to resume normal operation.

This problem could also be exploited to allow the execution of code with the privileges of the Squid process, typically 'nobody'.

Exploit / POC

Squid Cache FTP Proxy URL Buffer Overflow Vulnerability

An exploit has been released by gunzip <[email protected]>.

Solution / Fix

Squid Cache FTP Proxy URL Buffer Overflow Vulnerability

Solution:
Patches are available:


National Science Foundation Squid Web Proxy 2.0

National Science Foundation Squid Web Proxy 2.1

National Science Foundation Squid Web Proxy 2.2

National Science Foundation Squid Web Proxy 2.3

National Science Foundation Squid Web Proxy 2.3 STABLE5

National Science Foundation Squid Web Proxy 2.3.1

National Science Foundation Squid Web Proxy 2.4 STABLE2

National Science Foundation Squid Web Proxy 2.4 STABLE2-2

National Science Foundation Squid Web Proxy 2.4

National Science Foundation Squid Web Proxy 2.4 STABLE3

National Science Foundation Squid Web Proxy 2.4 STABLE1

References

Squid Cache FTP Proxy URL Buffer Overflow Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report