Cloudanix VulnDB

CVE-2014-7141

None

CVSS

—

EPSS

76.1%

Published

Nov 26, 2014

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Attend

A flaw in the Squid proxy software lets outsiders send a specially made network packet that can crash the service or reveal pieces of its memory.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Data Exposure
Component
Network Service
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The pinger component performs an out-of-bounds read when processing a crafted type field inside an ICMP or ICMP6 packet, resulting in either disclosure of adjacent memory contents or a process crash.

Why it matters to the business

Service availability can be disrupted and sensitive memory contents may be exposed to unauthenticated remote parties, potentially affecting any deployment that relies on Squid for caching or proxying.

How an attack unfolds

An attacker sends a single, specially crafted ICMP or ICMP6 packet containing an invalid type value to a reachable Squid instance; the pinger process reads beyond the intended buffer bounds, either leaking memory or terminating.

How to fix it

Upgrade Squid 3.x to version 3.4.8 or later; if an upgrade is not immediately possible, restrict ICMP and ICMP6 traffic to the pinger process or disable the pinger feature where operationally acceptable.

How to confirm the fix worked

Confirm the installed Squid version is 3.4.8 or newer; test that the pinger process no longer crashes or leaks data when presented with the original malformed ICMP/ICMP6 packets.

Typical attack path

  1. Locate an internet-facing or internally reachable Squid 3.x instance
  2. Craft an ICMP or ICMP6 packet with an out-of-range type value
  3. Transmit the packet to the target
  4. Observe either a crash (DoS) or receive leaked memory contents in the reply

How to detect it

Review historical logs or packet captures for ICMP and ICMP6 traffic containing unusual type values directed at Squid hosts; look for sudden pinger process restarts or segmentation faults around the time of suspected activity.

What your security team should do

  • Prioritize upgrade of all Squid 3.x deployments to 3.4.8 or newer within standard change windows
  • Apply network ACLs to limit ICMP/ICMP6 traffic destined for the Squid host to trusted sources only
  • Monitor for any remaining 3.x instances still in service and schedule their replacement

The record

The pinger in Squid 3.x before 3.4.8 allows remote attackers to obtain sensitive information or cause a denial of service (out-of-bounds read and crash) via a crafted type in an (1) ICMP or (2) ICMP6 packet.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 squid 0 4.1-1
Debian:12 squid 0 4.1-1
Debian:13 squid 0 4.1-1
Mageia:3 squid 0 3.2.10-1.8.mga3
Mageia:4 squid 0 3.3.13-1.1.mga4
SUSE:Linux Enterprise Server 11 SP4 squid3 0 3.1.23-8.16.30.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 squid3 0 3.1.23-8.16.30.1
Ubuntu:14.04:LTS squid3 0 3.3.8-1ubuntu6.2
openSUSE:Tumbleweed squid 0 3.5.22-1.1

Related vulnerabilities