Squid < 4.9 Multiple Vulnerabilities

critical Web App Scanning Plugin ID 112694

Synopsis

Squid < 4.9 Multiple Vulnerabilities

Description

According to its self-reported version number, the version of Squid installed on the remote host is prior to 4.9. It is, therefore, affected by multiple vulnerabilities:

- A heap overflow and possible a remote code execution exist due to incorrect buffer management when processing URN. (CVE-2019-12526)

- A security bypass exists due to improper input validation. An attacker can gain access to restricted HTTP servers. (CVE-2019-12523)

- A buffer overflow exists due to incorrect input validation which can result in denial of service to all clients using the proxy. (CVE-2019-18676)

- A traffic redirect exists due to incorrect message processing with append_domain settings. (CVE-2019-18677)

- A HTTP request splitting exists due to incorrect message parsing. (CVE-2019-18678)

- An information disclosure exists due to incorrect data management when processing HTTP Digest Authentication. (CVE-2019-18679) Note that the scanner has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Squid version 4.9 or later.

See Also

http://www.squid-cache.org/Advisories/SQUID-2019_10.txt

http://www.squid-cache.org/Advisories/SQUID-2019_11.txt

http://www.squid-cache.org/Advisories/SQUID-2019_7.txt

http://www.squid-cache.org/Advisories/SQUID-2019_8.txt

http://www.squid-cache.org/Advisories/SQUID-2019_9.txt

Plugin Details

Severity: Critical

ID: 112694

Type: remote

Published: 2/10/2021

Updated: 3/14/2023

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

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

CVSS Score Source: CVE-2019-12526

CVSS v3

Risk Factor: Critical

Base Score: 9.8

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

CVSS Score Source: CVE-2019-12526

Vulnerability Information

CPE: cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:*

Exploit Ease: No known exploits are available

Patch Publication Date: 11/26/2019

Vulnerability Publication Date: 11/26/2019

Reference Information

CVE: CVE-2019-12523, CVE-2019-12526, CVE-2019-18676, CVE-2019-18677, CVE-2019-18678, CVE-2019-18679

CWE: 119, 120, 20, 200, 352, 444, 787, 79

OWASP: 2010-A2, 2010-A4, 2010-A5, 2010-A6, 2013-A3, 2013-A4, 2013-A5, 2013-A8, 2013-A9, 2017-A5, 2017-A6, 2017-A7, 2017-A9, 2021-A1, 2021-A3, 2021-A4, 2021-A6

WASC: Buffer Overflow, Cross-Site Request Forgery, Cross-Site Scripting, HTTP Request Smuggling, Improper Input Handling, Information Leakage

CAPEC: 10, 100, 101, 104, 105, 108, 109, 110, 111, 116, 120, 123, 13, 135, 136, 14, 153, 169, 182, 209, 22, 224, 23, 230, 231, 24, 250, 261, 267, 28, 285, 287, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 3, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 31, 310, 312, 313, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 33, 330, 42, 43, 44, 45, 46, 462, 467, 47, 472, 473, 497, 508, 52, 53, 573, 574, 575, 576, 577, 588, 59, 591, 592, 60, 616, 62, 63, 64, 643, 646, 651, 67, 7, 71, 72, 73, 78, 79, 8, 80, 81, 83, 85, 88, 9, 92

DISA STIG: APSC-DV-000460, APSC-DV-002490, APSC-DV-002500, APSC-DV-002560, APSC-DV-002590, APSC-DV-002630

HIPAA: 164.306(a)(1), 164.306(a)(2), 164.312(a)(1), 164.312(e)

ISO: 27001-A.12.6.1, 27001-A.13.1.3, 27001-A.13.2.1, 27001-A.14.1.2, 27001-A.14.1.3, 27001-A.14.2.5

NIST: sp800_53-AC-4, sp800_53-CM-6b, sp800_53-SI-10, sp800_53-SI-10(5), sp800_53-SI-15, sp800_53-SI-16

OWASP API: 2019-API7, 2023-API8

OWASP ASVS: 4.0.2-14.2.1, 4.0.2-4.2.2, 4.0.2-5.1.3, 4.0.2-5.3.3, 4.0.2-8.3.4

PCI-DSS: 3.2-2.2, 3.2-6.2, 3.2-6.3, 3.2-6.4, 3.2-6.5, 3.2-6.5.2, 3.2-6.5.7, 3.2-6.5.8, 3.2-6.5.9, 3.2-6.6, 3.2-6.7