SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |    Help    |   

SecurityTracker
Archives


Welcome to SecurityTracker!
 
Click to Sign Up
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com

Sign Up!





Category:  Application (Generic)  >  Squid Vendors:  Squid-cache.org
(Gentoo Issues Fix) Squid ntlm_check_auth() Buffer Overflow Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1010516
SecurityTracker URL:  http://securitytracker.com/id?1010516
CVE Reference:  CAN-2004-0541   (Links to External Site)
Date:  Jun 17 2004
Impact:  Execution of arbitrary code via network, User access via network
Fix Available:  Yes   Vendor Confirmed:  Yes  
Version(s): 3.*-PRE, 2.5.*
Description:  iDEFENSE reported a buffer overflow vulnerability in Squid in the processing of NTLM authentication messages. A remote user can execute arbitrary code on the target system.

It is reported that if the proxy is configured to use the NTLM authentication helper, a remote user can send a specially crafted password to trigger a buffer overflow in 'helpers/ntlm_auth/SMB/libntlmssp.c' in the ntlm_check_auth() function.

The vendor was reportedly notified on May 20, 2004.

Impact:  A remote user can execute arbitrary code on the target system.
Solution:  Gentoo has released a fix and indicates that all Squid users should upgrade to the latest stable version:

# emerge sync

# emerge -pv ">=net-www/squid-2.5.5-r2"
# emerge ">=net-www/squid-2.5.5-r2"

Vendor URL:  www.squid-cache.org/ (Links to External Site)
Cause:  Boundary error
Underlying OS:  Linux (Gentoo)
Reported By:  Kurt Lieber <klieber@gentoo.org>
Message History:   This archive entry is a follow-up to the message listed below.
Jun 8 2004 Squid ntlm_check_auth() Buffer Overflow Lets Remote Users Execute Arbitrary Code



 Source Message Contents

Date:  Thu, 17 Jun 2004 12:04:57 +0000
From:  Kurt Lieber <klieber@gentoo.org>
Subject:  [gentoo-announce] [ GLSA 200406-13 ] Squid: NTLM authentication helper buffer overflow

 


--j9XQ5cF5hebrmXqw
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200406-13
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: High
     Title: Squid: NTLM authentication helper buffer overflow
      Date: June 17, 2004
      Bugs: #53367
        ID: 200406-13

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Squid contains a bug where it fails to properly check bounds of the
'pass' variable.

Background
==========

Squid contains a bug in the function ntlm_check_auth(). It fails to do
proper bounds checking on the values copyied to the 'pass' variable.

Affected packages
=================

    -------------------------------------------------------------------
     Package        /   Vulnerable   /                      Unaffected
    -------------------------------------------------------------------
  1  net-www/squid      <= 2.5.5-r1                        >= 2.5.5-r2

Description
===========

Squid is a full-featured Web Proxy Cache designed to run on Unix
systems. It supports proxying and caching of HTTP, FTP, and other URLs,
as well as SSL support, cache hierarchies, transparent caching, access
control lists and many other features.

Impact
======

If Squid is configured to use NTLM authentication, an attacker could
exploit this vulnerability by sending a very long password. This could
lead to arbitrary code execution with the permissions of the user
running Squid.

Workaround
==========

There is no known workaround at this time. All users are encouraged to
upgrade to the latest available version.

Resolution
==========

All Squid users should upgrade to the latest stable version:

    # emerge sync

    # emerge -pv ">=net-www/squid-2.5.5-r2"
    # emerge ">=net-www/squid-2.5.5-r2"

References
==========

  [ 1 ] CAN-2004-0541
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0541

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

     http://security.gentoo.org/glsa/glsa-200406-13.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2004 Gentoo Technologies, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/1.0

--j9XQ5cF5hebrmXqw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA0YjpJPpRNiftIEYRAtYyAJ9T6UNlL0CzZtk8zWIqzYoGd152bwCeKP2h
h40A+0ydpGOg7AYM+/Y+1Xs=
=hPmU
-----END PGP SIGNATURE-----

--j9XQ5cF5hebrmXqw--

 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us   |    Help

Copyright 2004, SecurityGlobal.net LLC