-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                              ESB-2012.1199.2
          Squid Proxy Cache Security Update Advisory SQUID-2012:1
                             21 December 2012

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Squid
Publisher:         squid-cache.org
Operating System:  UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Denial of Service -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2012-5643  

Original Bulletin: 
   http://www.squid-cache.org/Advisories/SQUID-2012_1.txt

Revision History:  December 21 2012: CVE Added
                   December 18 2012: Initial Release

- --------------------------BEGIN INCLUDED TEXT--------------------

__________________________________________________________________

     Squid Proxy Cache Security Update Advisory SQUID-2012:1
__________________________________________________________________

Advisory ID:            SQUID-2012:1
Date:                   December 17, 2012
Summary:                Denial of service in cachemgr.cgi
Affected versions:      Squid 2.x all releases
                         Squid 3.0 all releases
                         Squid 3.1 -> 3.1.21
                         Squid 3.2 -> 3.2.3
                         Squid 3.3.0.1
Fixed in version:       Squid 3.3.0.2, 3.2.4, 3.1.22
__________________________________________________________________

     http://www.squid-cache.org/Advisories/SQUID-2012_1.txt
__________________________________________________________________

Problem Description:

  Due to missing input validation Squid cachemgr.cgi tool is
  vulnerable to a denial of service attack when processing
  specially crafted requests.

__________________________________________________________________

Severity:

  This problem allows any client able to reach the cachemgr.cgi
  to perform a denial of service attack on the service host.

  The nature of the attack may cause secondary effects through
  resource consumption on the host server.

__________________________________________________________________

Updated Packages:

  This bug is fixed by Squid versions 3.2.4 and 3.3.0.2

  In addition, patches addressing this problem for stable releases
  can be found in our patch archives:

Squid 3.1:
http://www.squid-cache.org/Versions/v3/3.1/changesets/squid-3.1-10479.patch

Squid 3.2:
http://www.squid-cache.org/Versions/v3/3.2/changesets/squid-3.2-11714.patch


  If you are using a prepackaged version of Squid then please refer
  to the package vendor for availability information on updated
  packages.

__________________________________________________________________

Determining if your version is vulnerable:

  Squid proxy is not vulnerable. The problem is isolated to the
  manager CGI interface tool.


  cachemgr.cgi tool displays its version number in the HTML pages
  with a version number:

   All 2.x versions up to and including 2.7.STABLE9 are vulnerable.

   All 3.x versions up to and including 3.1.21 are vulnerable.

   All 3.2 versions up to and including 3.2.3 are vulnerable.

   The 3.3.0.1 beta version is vulnerable

   All 3.x versions newer than the above are not vulnerable.

__________________________________________________________________

Workaround:

  Add access controls to the host web server limiting which clients
  can send requests to the CGI tool.

or,

  Add server limits to CGI process memory consumption to the
  host web server running cachemgr.cgi.


__________________________________________________________________

Contact details for the Squid project:

  For installation / upgrade support on binary packaged versions
  of Squid: Your first point of contact should be your binary
  package vendor.

  If you install and build Squid from the original Squid sources
  then thesquid-users@squid-cache.org  mailing list is your primary
  support point. For subscription details see
  http://www.squid-cache.org/Support/mailing-lists.html.

  For reporting of non-security bugs in the latest release
  the squid bugzilla database should be used
  http://bugs.squid-cache.org/.

  For reporting of security sensitive bugs send an email to the
  squid-bugs@squid-cache.org  mailing list. It's a closed list
  (though anyone can post) and security related bug reports are
  treated in confidence until the impact has been established.

__________________________________________________________________

Credits:

  The vulnerability was discovered by Coverity Scan Project.

__________________________________________________________________

Revision history:

  2012-10-29 12:47 --- Initial Detection
  2012-11-15 03:05 GMT Patches Released
  2012-12-17 06:20 GMT Advisory Released
__________________________________________________________________
END

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBUNPNcO4yVqjM2NGpAQJxlw//X3J8LdEoyEnstrqCp+QyzA6tf/9jV64W
/BP+Lhczc2POs2A8jQ1iCdnN6/y741luND3w1XJ2gXfWVHoZndSNjrrhSB9HTGdH
liSHqCHO9E7WiTTWp0cs7Y2WQzLOPtj2/NYoEJwk63ogANl0MW9iiTTs8lJ4cHBn
v5drQggCCe4auKGPPPzFnscmZoJRGwSjpxW48mv8AiGZkOA9f7UUur+esTwawE+t
oMXhADYxWPe9pfCgOLqkDEn0MEoJUzKAUg7lM4r3TyAshwnFNyBd2P9V/xTyD+Kh
NI9P2CxYPxUJBFgubIOoqliTDuryhD1yTOlKKwXOScQBgemfPaFvmO0K3yMU2MP/
H/WfPAITGrD2FWlxEKym4HuGlnm10PR/axpIKUbnsrddazBDOn8FV5RmxGMHJKrG
Zp1sD55osW3dxoRMmrJG9+xhcYrj+6rbVl3J2AX/mdWsLuaRstKjqQZbQwYORjgn
rzzvDtcxCWy8GaFSTb4WNOIxgjwsGiK+iZS4mTtKI/n198L1MXq2sQUQiMsFYgsK
X1LHC5TGs2n+FsBKvok/WcO3/mDOMlSQJQKRDpe2UKA4+VTs3AogZ2B7xwAupnAB
+jKynCogpvfxbUciLGgGivie64c8cODh+GpDTKK2IpaYAXB1gt7hxTx2YwnJYV2a
KDAPYC5ZFcc=
=50NJ
-----END PGP SIGNATURE-----