Squid 3.2 < 3.5.4 Incorrect X509 Server Certificate Validation Vulnerability

low Nessus Plugin ID 83529
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote proxy server may be affected by a certificate validation vulnerability.

Description

According to its banner, the version of Squid running on the remote host is 3.2 prior to 3.2.14 / 3.3.14 / 3.4.13 / 3.5.4. It is, therefore, potentially affected by a flaw related to certificate validation due to the server hostname not being verified as matching a the domain name in the certificate Subject's Common Name (CN) or the SubjectAltName fields. A man-in-the-middle attacker, using a crafted certificate, can utilize this to spoof a TLS/SSL server, thus allowing the disclosure or manipulation of intercepted data. Note that this flaw is exploitable only if Squid is configured to perform SSL Bumping with the 'client-first' or 'bump' mode of operation.

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

Solution

Upgrade to Squid versions 3.2.14 / 3.3.14 / 3.4.13 / 3.5.4, or apply the vendor-supplied patch.

See Also

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

http://www.squid-cache.org/Advisories/SQUID-2015_1.txt

http://www.nessus.org/u?8ef2aa9b

Plugin Details

Severity: Low

ID: 83529

File Name: squid_3_5_4.nasl

Version: 1.4

Type: remote

Family: Firewalls

Published: 5/19/2015

Updated: 11/22/2019

Dependencies: squid_version.nasl

Configuration: Enable paranoid mode

Risk Information

CVSS Score Source: CVE-2015-3455

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Low

Base Score: 2.6

Temporal Score: 1.9

Vector: AV:N/AC:H/Au:N/C:N/I:P/A:N

Temporal Vector: E:U/RL:OF/RC:C

Vulnerability Information

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

Required KB Items: www/squid, Settings/ParanoidReport

Exploit Ease: No known exploits are available

Patch Publication Date: 5/1/2015

Vulnerability Publication Date: 5/1/2015

Reference Information

CVE: CVE-2015-3455

BID: 74438