search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Squid vulnerable to buffer overflow via an overly long WCCP message

Vulnerability Note VU#886006

Original Release Date: 2005-02-04 | Last Revised: 2005-02-08

Overview

The Squid web proxy cache is vulnerable to a buffer overflow when handing overly long web cache communications protocol (WCCP) messages. Such messages could crash the Squid process and produce a denial of service condition.

Description

Squid functions as a web proxy and cache application for number of protocols. It supports WCCP to enable communications between routers and web caches. A recvfrom() call in the WCCP handling routines accepts more data than the buffer size may be able to handle. An attacker may be able to crash the Squid process by sending an overly-long WCCP message.

Impact

A remote unauthenticated attacker may be able to crash the Squid process and create a denial of service condition. Sites not using WCCP, which is disabled by default, are not affected.

Solution

Apply an update

Administrators should obtain an updated version of Squid from their vendor if WCCP is used.

Team Squid has created a patch for the current release version of Squid, described in Squid Proxy Cache Security Update Advisory SQUID-2005:3.

This flaw has been patched in Squid 2.5.STABLE8-RC4. More details are available in the Squid Bugzilla bug #1217.

Sites not requiring WCCP should disable the 'wccp_router' option in the Squid configuration file. Note that this option is disabled by default.

Vendor Information

886006
 

Squid Affected

Updated:  February 04, 2005

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

Team Squid has created a patch for the current release version of Squid, described in Squid Proxy Cache Security Update Advisory SQUID-2005:3.

This flaw has been patched in Squid 2.5.STABLE8-RC4. More details are available in the Squid Bugzilla bug #1217.

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


CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

Thanks to Team Squid for reporting this vulnerability, who in turn credit the FSC Vulnerability Research Team with the discovery of this flaw.

This document was written by Ken MacInnis based primarily on information provided by Team Squid.

Other Information

CVE IDs: CVE-2005-0211
Severity Metric: 7.50
Date Public: 2005-01-28
Date First Published: 2005-02-04
Date Last Updated: 2005-02-08 21:29 UTC
Document Revision: 21

Sponsored by CISA.