Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 542
Alerts This Week
Warning Icon 1 542

Red Hat Enterprise 7: RHSA-2016-1139-01 Moderate: Squid Code Execution

red hat
Calendar Grey May 31, 2016
Scroller Redhat
A new security patch for Squid on Red Hat Enterprise Linux has been classified as moderate, addressing several important vulnerabilities. It is crucial for all users to implement this update.
An update for squid is now available for Red Hat Enterprise Linux 7

Solution

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

After installing this update, the squid service will be restarted automatically.

Summary

Squid is a high-performance proxy caching server for web clients, supporting FTP, Gopher, and HTTP data objects.
Security Fix(es):
* A buffer overflow flaw was found in the way the Squid cachemgr.cgi utility processed remotely relayed Squid input. When the CGI interface utility is used, a remote attacker could possibly use this flaw to execute arbitrary code. (CVE-2016-4051)
* Buffer overflow and input validation flaws were found in the way Squid processed ESI responses. If Squid was used as a reverse proxy, or for TLS/HTTPS interception, a remote attacker able to control ESI components on an HTTP server could use these flaws to crash Squid, disclose parts of the stack memory, or possibly execute arbitrary code as the user running Squid. (CVE-2016-4052, CVE-2016-4053, CVE-2016-4054)
* An input validation flaw was found in the way Squid handled intercepted HTTP Request messages. An attacker could use this flaw to bypass the protection against issues related to CVE-2009-0801, and perform cache poisoning attacks on Squid. (CVE-2016-4553)
* An input validation flaw was found in Squid's mime_get_header_field() function, which is used to search for headers within HTTP requests. An attacker could send an HTTP request from the client side with specially crafted header Host header that bypasses same-origin security protections, causing Squid operating as interception or reverse-proxy to contact the wrong origin server. It could also be used for cache poisoning for client not following RFC 7230. (CVE-2016-4554)
* A NULL pointer dereference flaw was found in the way Squid processes ESI responses. If Squid was used as a reverse proxy or for TLS/HTTPS interception, a malicious server could use this flaw to crash the Squid worker process. (CVE-2016-4555)
* An incorrect reference counting flaw was found in the way Squid processes ESI responses. If Squid is configured as reverse-proxy, for TLS/HTTPS interception, an attacker controlling a server accessed by Squid, could crash the squid worker, causing a Denial of Service attack. (CVE-2016-4556)

References

https://access.redhat.com/security/cve/CVE-2016-4051 https://access.redhat.com/security/cve/CVE-2016-4052 https://access.redhat.com/security/cve/CVE-2016-4053 https://access.redhat.com/security/cve/CVE-2016-4054 https://access.redhat.com/security/cve/CVE-2016-4553 https://access.redhat.com/security/cve/CVE-2016-4554 https://access.redhat.com/security/cve/CVE-2016-4555 https://access.redhat.com/security/cve/CVE-2016-4556 https://access.redhat.com/security/updates/classification/#moderate http://www.squid-cache.org/Advisories/SQUID-2016_5.txt http://www.squid-cache.org/Advisories/SQUID-2016_6.txt http://www.squid-cache.org/Advisories/SQUID-2016_7.txt http://www.squid-cache.org/Advisories/SQUID-2016_8.txt http://www.squid-cache.org/Advisories/SQUID-2016_9.txt

Package List

Red Hat Enterprise Linux Server (v. 7):
Source: squid-3.3.8-26.el7_2.3.src.rpm
ppc64: squid-3.3.8-26.el7_2.3.ppc64.rpm squid-debuginfo-3.3.8-26.el7_2.3.ppc64.rpm
ppc64le: squid-3.3.8-26.el7_2.3.ppc64le.rpm squid-debuginfo-3.3.8-26.el7_2.3.ppc64le.rpm
s390x: squid-3.3.8-26.el7_2.3.s390x.rpm squid-debuginfo-3.3.8-26.el7_2.3.s390x.rpm
x86_64: squid-3.3.8-26.el7_2.3.x86_64.rpm squid-debuginfo-3.3.8-26.el7_2.3.x86_64.rpm
Red Hat Enterprise Linux Server Optional (v. 7):
ppc64: squid-debuginfo-3.3.8-26.el7_2.3.ppc64.rpm squid-sysvinit-3.3.8-26.el7_2.3.ppc64.rpm
ppc64le: squid-debuginfo-3.3.8-26.el7_2.3.ppc64le.rpm squid-sysvinit-3.3.8-26.el7_2.3.ppc64le.rpm
s390x: squid-debuginfo-3.3.8-26.el7_2.3.s390x.rpm squid-sysvinit-3.3.8-26.el7_2.3.s390x.rpm
x86_64: squid-debuginfo-3.3.8-26.el7_2.3.x86_64.rpm squid-sysvinit-3.3.8-26.el7_2.3.x86_64.rpm
Red Hat Enterprise Linux Workstation (v. 7):
Source: squid-3.3.8-26.el7_2.3.src.rpm
x86_64: squid-3.3.8-26.el7_2.3.x86_64.rpm squid-debuginfo-3.3.8-26.el7_2.3.x86_64.rpm
Red Hat Enterprise Linux Workstation Optional (v. 7):
x86_64: squid-debuginfo-3.3.8-26.el7_2.3.x86_64.rpm squid-sysvinit-3.3.8-26.el7_2.3.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from

Read the Full Advisory


Severity
important
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2016:1139-01
Product: Red Hat Enterprise Linux
Issue date: 2016-05-31

Topic

An update for squid is now available for Red Hat Enterprise Linux 7.Red Hat Product Security has rated this update as having a security impactof Moderate. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.

Relevant Releases Architectures

Red Hat Enterprise Linux Server (v. 7) - ppc64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux Server Optional (v. 7) - ppc64, ppc64le, s390x, x86_64

Red Hat Enterprise Linux Workstation (v. 7) - x86_64

Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64

Bugs Fixed

1329126 - CVE-2016-4051 squid: buffer overflow in cachemgr.cgi

1329136 - CVE-2016-4052 CVE-2016-4053 CVE-2016-4054 squid: multiple issues in ESI processing

1334233 - CVE-2016-4553 squid: Cache poisoning issue in HTTP Request handling

1334241 - CVE-2016-4554 squid: Header Smuggling issue in HTTP Request processing

1334246 - CVE-2016-4555 squid: SegFault from ESIInclude::Start

1334786 - CVE-2016-4556 squid: SIGSEGV in ESIContext response handling

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.