Squid: Remote DoS vulnerability — GLSA 200410-15

Squid contains a vulnerability in the SNMP module which may lead to a denial of service.

Affected Packages

net-proxy/squid on all architectures
Affected versions < 2.5.7
Unaffected versions >= 2.5.7

Background

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.

Description

A parsing error exists in the SNMP module of Squid where a specially-crafted UDP packet can potentially cause the server to restart, closing all current connections. This vulnerability only exists in versions of Squid compiled with the 'snmp' USE flag.

Impact

An attacker can repeatedly send these malicious UDP packets to the Squid server, leading to a denial of service.

Workaround

Disable SNMP support or filter the port that has SNMP processing (default is 3401) to allow only SNMP data from trusted hosts.

To disable SNMP support put the entry snmp_port 0 in the squid.conf configuration file.

To allow only the local interface to process SNMP, add the entry "snmp_incoming_address 127.0.0.1" in the squid.conf configuration file.

Resolution

All Squid users should upgrade to the latest version:

 # emerge sync
 
 # emerge -pv ">=net-proxy/squid-2.5.7"
 # emerge ">=net-proxy/squid-2.5.7"

References

Release Date
October 18, 2004

Latest Revision
December 30, 2007: 03

Severity
normal

Exploitable
remote

Bugzilla entries