FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

squid -- buffer overflow in WCCP recvfrom() call

Affected packages
squid < 2.5.7_10

Details

VuXML ID 23fb5a04-722b-11d9-9e1e-c296ac722cb3
Discovery 2005-01-28
Entry 2005-01-28
Modified 2005-02-13

According to the Squid Proxy Cache Security Update Advisory SQUID-2005:3,

The WCCP recvfrom() call accepts more data than will fit in the allocated buffer. An attacker may send a larger-than-normal WCCP message to Squid and overflow this buffer.

Severity:

The bug is important because it allows remote attackers to crash Squid, causing a disription in service. However, the bug is exploitable only if you have configured Squid to send WCCP messages to, and expect WCCP replies from, a router.

Sites that do not use WCCP are not vulnerable.

Note that while the default configuration of the FreeBSD squid port enables WCCP support in general, the default configuration supplied does not actually configure squid to send and receive WCCP messages.

References

CERT/CC Vulnerability Note 886006
CVE Name CVE-2005-0211
URL http://www.squid-cache.org/Advisories/SQUID-2005_3.txt
URL http://www.squid-cache.org/bugs/show_bug.cgi?id=1217
URL http://www.squid-cache.org/Versions/v2/2.5/bugs/#squid-2.5.STABLE7-wccp_buffer_overflow