SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Squid Vendors:   [Multiple Authors/Vendors]
(Caldera Issues Fix for UnixWare/Open UNIX) Re: Squid Proxy Cache Server Buffer Overflow Lets Remote Users Create Denial of Service Conditions and May Let Remote Users Execute Arbitrary Code on the System
SecurityTracker Alert ID:  1003728
SecurityTracker URL:  http://securitytracker.com/id/1003728
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Mar 4 2002
Impact:   Denial of service via network, Execution of arbitrary code via network, Root access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 2.3, 2.4
Description:   A buffer overflow vulnerability was reported in the Squid server. A remote user can create denial of service conditions and may be able to execute arbitrary code with root privileges on the server.

It is reported that Squid contains a buffer overflow in the code that parses FTP requests. A remote user can generate a specially crafted FTP request to cause a Squid child process to crash. It may be possible for the remote user to cause arbitrary code to be executed on the system.

The flaw is reportedly located in ftp.c, function ftpBuildTitleUrl() where space is allocated for the URL. However, a call to rfc1738_escape_part(), which returns the parameter string in URL-escaped form, may return a string that is much longer than the originally supplied parameter. Because the FTP username and password are escaped, an FTP request with a long username and password consisting of special characters could trigger the overflow.

Impact:   A remote user can send multiple FTP requests to the server to cause denial of service conditions. A remote user may be able to cause arbitrary code to be executed with root privileges.
Solution:   Caldera has released a fix for UnixWare 7, Open UNIX 8:

ftp://stage.caldera.com/pub/security/openserver/CSSA-2002-SCO.7/
ftp2.caldera.com/pub/skunkware/osr5/vols/squid-2.4.STABLE4-VOLS.tar

The verification checksum is:

MD5 (squid-2.4.STABLE4-VOLS.tar) = d8a841049ce47d0dc02af7dd8ff19300

Upgrade the affected binaries with the following commands:

Download ftp2.caldera.com/pub/skunkware/osr5/vols/squid-2.4.STABLE4-VOLS.tar to the /tmp directory

# cd /tmp
# tar xvf squid-2.4.STABLE4-VOLS.tar

Run the custom command, specify an install from media images, and specify the /tmp directory as the location of the images.

Vendor URL:  www.squid-cache.org/Advisories/SQUID-2002_1.txt (Links to External Site)
Cause:   Boundary error
Underlying OS:  Linux (Caldera/SCO)
Underlying OS Comments:  OpenServer <=5.0.6a

Message History:   This archive entry is a follow-up to the message listed below.
Feb 22 2002 Squid Proxy Cache Server Buffer Overflow Lets Remote Users Create Denial of Service Conditions and May Let Remote Users Execute Arbitrary Code on the System



 Source Message Contents

Subject:  squid


This is a multi-part message in MIME format.
--------------6F44F210ABF8B980110F7EDD
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

ftp://stage.caldera.com/pub/security/openserver/CSSA-2002-SCO.7/CSSA-2002-SCO.7.txt
--------------6F44F210ABF8B980110F7EDD
Content-Type: text/plain; charset=us-ascii;
 name="CSSA-2002-SCO.7.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="CSSA-2002-SCO.7.txt"

___________________________________________________________________________

	    Caldera International, Inc. Security Advisory

Subject:		OpenServer: multiple vulnerabilities in squid
Advisory number: 	CSSA-2002-SCO.7
Issue date: 		2002 March 4
Cross reference:
___________________________________________________________________________


1. Problem Description

	Multiple vulnerabilities were discovered in squid, including
	(but not limited to) the following issues:

	- htcp_port 0 now properly disables htcp
        - Fixed problem with certain non-anonymous ftp style URL's
        - SNMP bugfixes including several memory leaks
        - Fixed bug #255: core dump on SSL/CONNECT if access denied by
          miss_access
        - Fixed a coredump when creating FTP directories
	- Fixed a potential coredump situation on snmpwalk in certain
	  configurations 
		  
	The full list is in the ChangeLog for Squid 2.4.STABLE4. The
	last released verison of squid for OpenServer was 2.4.STABLE1.


2. Vulnerable Supported Versions

	Operating System	Version		Affected Files
	------------------------------------------------------------------
	OpenServer		<=5.0.6a	squid-2.4.STABLE4-VOLS.tar


3. Workaround

	None.


4. UnixWare 7, Open UNIX 8

  4.1 Location of Fixed Binaries

	ftp://stage.caldera.com/pub/security/openserver/CSSA-2002-SCO.7/
	ftp2.caldera.com/pub/skunkware/osr5/vols/squid-2.4.STABLE4-VOLS.tar


  4.2 Verification

	MD5 (squid-2.4.STABLE4-VOLS.tar) = d8a841049ce47d0dc02af7dd8ff19300


	md5 is available for download from
		ftp://stage.caldera.com/pub/security/tools/


  4.3 Installing Fixed Binaries

	Upgrade the affected binaries with the following commands:

	Download ftp2.caldera.com/pub/skunkware/osr5/vols/squid-2.4.STABLE4-VOLS.tar
	to the /tmp directory

	# cd /tmp
	# tar xvf squid-2.4.STABLE4-VOLS.tar

	Run the custom command, specify an install from media images,
	and specify the /tmp directory as the location of the images.


5. References

	This and other advisories are located at
		http://stage.caldera.com/support/security

	This advisory addresses Caldera Security internal incidents
	sr860951, fz520236, erg711970.


6. Disclaimer

	Caldera International, Inc. is not responsible for the misuse
	of any of the information we provide on our website and/or
	through our security advisories. Our advisories are a service
	to our customers intended to promote secure installation and
	use of Caldera International products.


7. Acknowledgements

	The ftp vulnerability was discovered by Jouko Pynnonen
	<jouko@solutions.fi>.

	Caldera would like to thank Henrik Nordstrom <hno@squid-cache.org>
	and the Squid team for responding with alacrity.

___________________________________________________________________________

--------------6F44F210ABF8B980110F7EDD--



 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2020, SecurityGlobal.net LLC