SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

 

Vulnerability Note VU#613459

Squid Proxy Server contains buffer overflow in parsing of the authentication portion of FTP URLs

Overview

There is a remotely exploitable buffer overflow in the Squid proxy/cache server. Exploitation of this vulnerability could lead to an intruder gaining a shell on the target Squid server.

I. Description

Squid versions 2.3 and 2.4 are vulnerable to a buffer overflow in the code that parses FTP requests. A crafted FTP request can cause a Squid child process to dump core, and multiple requests can cause a denial of service. It is also reported that this vulnerability may be exploitable to allow arbitrary execution of code. This is not yet confirmed, and does not seem to be a trivial task. In order to exploit this vulnerability, the attacker must be a local user, or the server must permit anonymous logins.

II. Impact

Exploitation of this vulnerability results in a denial of service. It could also permit an intruder to execute arbitrary code on the target Squid server with the privileges of the Squid process, usually super-user/root. Note that exploiting this vulnerability to execute arbitrary code is not yet confirmed.

III. Solution

Upgrade to Squid-2.4.STABLE4 or apply the patches provided by your vendor.

Configure the Squid server to drop super-user/root privilege by specifying the chroot option used in squid.conf. If this is done, the attacker will only be able to execute arbitrary code as the user specified in the configuration file.

Systems Affected

VendorStatusDate NotifiedDate Updated
CalderaVulnerable6-Mar-2002
FreeBSDVulnerable4-Mar-2002
Hewlett PackardVulnerable6-Mar-2002
MandrakeSoftVulnerable4-Mar-2002
SquidVulnerable4-Mar-2002
SuSEVulnerable6-Mar-2002
TrustixVulnerable4-Mar-2002

References


http://www.securityfocus.com/bid/4148
http://www.squid-cache.org/
http://archives.neohapsis.com/archives/bugtraq/2002-02/0251.html

Credit

Our thanks to Jouko Pynnönen of Online Solutions Ltd, who discovered and reported on this vulnerability.

This document was written by Jason Rafail and is based on the advisory by Jouko Pynnönen.

Other Information

Date Public:2002-02-21
Date First Published:2002-03-04
Date Last Updated:2002-03-06
CERT Advisory: 
CVE-ID(s):CAN-2002-0068
NVD-ID(s):CAN-2002-0068
US-CERT Technical Alerts: 
Metric:15.96
Document Revision:10

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Copyright 2002 Carnegie Mellon University
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader