Squid 3.x < 3.5.17 / 4.x < 4.0.9 Esi.cc Multiple Vulnerabilities

high Nessus Plugin ID 91193

Synopsis

The remote proxy server is affected by multiple vulnerabilities.

Description

According to its banner, the version of Squid running on the remote host is 3.x prior to 3.5.17 or 4.x prior to 4.0.9. It is, therefore, affected by multiple vulnerabilities :

- An assertion fault exists in file esi/Esi.cc that is triggered when handling ESI responses. An unauthenticated, remote attacker can exploit this, via an HTTP server that uses specially crafted Edge Side Includes (ESI), to cause a denial of service condition or the execution of arbitrary code. (CVE-2016-4052)

- A flaw exists in file esi/Esi.cc due to improper validation of user-supplied input when handling ESI responses. An unauthenticated, remote attacker can exploit this, via specially crafted ESI responses, to disclose sensitive stack layout information.
(CVE-2016-4053)

- A buffer overflow condition exists in file esi/Esi.cc due to improper validation of user-supplied input when handling ESI responses. An unauthenticated, remote attacker can exploit this, via specially crafted ESI responses, to cause a denial of service condition or the execution of arbitrary code. (CVE-2016-4054)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.
Furthermore, the patch released to address these issues does not update the version given in the banner. If the patch has been applied properly, and the service has been restarted, then consider this to be a false positive.

Solution

Upgrade to Squid version 3.5.17 / 4.0.9 or later. Alternatively, apply the vendor-supplied patch.

See Also

http://www.squid-cache.org/Advisories/

http://www.squid-cache.org/Advisories/SQUID-2016_6.txt

Plugin Details

Severity: High

ID: 91193

File Name: squid_4_0_9_Esi_cc.nasl

Version: 1.5

Type: remote

Family: Firewalls

Published: 5/17/2016

Updated: 11/19/2019

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2016-4054

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:squid-cache:squid

Required KB Items: Settings/ParanoidReport, www/squid

Exploit Ease: No known exploits are available

Patch Publication Date: 4/20/2016

Vulnerability Publication Date: 4/20/2016

Reference Information

CVE: CVE-2016-4052, CVE-2016-4053, CVE-2016-4054