Amazon Linux 2 : squid (ALAS-2023-2065)

critical Nessus Plugin ID 176706

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of squid installed on the remote host is prior to 3.5.20-17. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2023-2065 advisory.

- An issue was discovered in Squid before 4.9. When handling a URN request, a corresponding HTTP request is made. This HTTP request doesn't go through the access checks that incoming HTTP requests go through. This causes all access checks to be bypassed and allows access to restricted HTTP servers, e.g., an attacker can connect to HTTP servers that only listen on localhost. (CVE-2019-12523)

- An issue was discovered in Squid 3.x and 4.x through 4.8. Due to incorrect input validation, there is a heap-based buffer overflow that can result in Denial of Service to all clients using the proxy. Severity is high due to this vulnerability occurring before normal security checks; any remote client that can reach the proxy port can trivially perform the attack via a crafted URI scheme. (CVE-2019-18676)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update squid' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2023-2065.html

https://alas.aws.amazon.com/cve/html/CVE-2019-12523.html

https://alas.aws.amazon.com/cve/html/CVE-2019-18676.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: Critical

ID: 176706

File Name: al2_ALAS-2023-2065.nasl

Version: 1.0

Type: local

Agent: unix

Published: 6/5/2023

Updated: 6/5/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2019-12523

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:squid-sysvinit, p-cpe:/a:amazon:linux:squid-migration-script, p-cpe:/a:amazon:linux:squid-debuginfo, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:squid

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 5/25/2023

Vulnerability Publication Date: 11/25/2019

Reference Information

CVE: CVE-2019-12523, CVE-2019-18676