CVE-2016-4054
published 2016-04-25CVE-2016-4054: Buffer overflow in Squid 3.x before 3.5.17 and 4.x before 4.0.9 allows remote attackers to execute arbitrary code via crafted Edge Side Includes (ESI)…
PriorityP268high8.1CVSS 3.0
AVNACHPRNUINSUCHIHAH
EPSS
77.56%
99.5th percentile
Buffer overflow in Squid 3.x before 3.5.17 and 4.x before 4.0.9 allows remote attackers to execute arbitrary code via crafted Edge Side Includes (ESI) responses.
Affected
147 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | squid | — | — |
| oracle | linux | — | — |
| oracle | linux | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
| squid-cache | squid | — | — |
Detection & IOCsextracted from sources · hover to see the quote
- →Vulnerability is triggered via crafted ESI (Edge Side Includes) responses; monitor Squid reverse proxy or TLS/HTTPS interception deployments for anomalous ESI response content from upstream servers. ↗
- →Attack vector requires attacker control of ESI components on an HTTP server; focus detection on ESI tags in HTTP responses passing through Squid configured as a reverse proxy or TLS/HTTPS interceptor. ↗
- →Squid advisory SQUID-2016_6 is the authoritative upstream reference; use it to cross-reference patch status and confirm affected builds in your environment. ↗
- ·Exploitation requires Squid to be operating as a reverse proxy OR performing TLS/HTTPS interception; deployments in neither mode are not exposed to this attack path. ↗
- ·Red Hat Enterprise Linux 5 packages are explicitly marked Not Affected; patching priority should focus on RHEL 6, RHEL 7, and Fedora deployments running Squid 3.x < 3.5.17 or 4.x < 4.0.9. ↗
CVSS provenance
nvdv3.08.1HIGHCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.2HIGH
vendor_ubuntu8.2HIGH
vendor_debian8.1LOW
vendor_redhat8.1HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-4qf5-r4mp-pqp5: Buffer overflow in Squid 3
ghsa_unreviewed·2022-05-13
CVE-2016-4054 [HIGH] CWE-119 GHSA-4qf5-r4mp-pqp5: Buffer overflow in Squid 3
Buffer overflow in Squid 3.x before 3.5.17 and 4.x before 4.0.9 allows remote attackers to execute arbitrary code via crafted Edge Side Includes (ESI) responses.
OSV
squid3 vulnerabilities
osv·2016-06-09·CVSS 8.2
CVE-2016-3947 [HIGH] squid3 vulnerabilities
squid3 vulnerabilities
Yuriy M. Kaminskiy discovered that the Squid pinger utility incorrectly
handled certain ICMPv6 packets. A remote attacker could use this issue to
cause Squid to crash, resulting in a denial of service, or possibly cause
Squid to leak information into log files. (CVE-2016-3947)
Yuriy M. Kaminskiy discovered that the Squid cachemgr.cgi tool incorrectly
handled certain crafted data. A remote attacker could use this issue to
cause Squid to crash, resulting in a denial of service, or possibly execute
arbitrary code. (CVE-2016-4051)
It was discovered that Squid incorrectly handled certain Edge Side Includes
(ESI) responses. A remote attacker could possibly use this issue to cause
Squid to crash, resulting in a denial of service, or possibly execute
arbitrary code. (CVE-
OSV
CVE-2016-4054: Buffer overflow in Squid 3
osv·2016-04-25·CVSS 8.1
CVE-2016-4054 [HIGH] CVE-2016-4054: Buffer overflow in Squid 3
Buffer overflow in Squid 3.x before 3.5.17 and 4.x before 4.0.9 allows remote attackers to execute arbitrary code via crafted Edge Side Includes (ESI) responses.
Ubuntu
Squid vulnerabilities
vendor_ubuntu·2016-06-09·CVSS 8.2
CVE-2016-3947 [HIGH] Squid vulnerabilities
Title: Squid vulnerabilities
Summary: Several security issues were fixed in Squid.
Yuriy M. Kaminskiy discovered that the Squid pinger utility incorrectly
handled certain ICMPv6 packets. A remote attacker could use this issue to
cause Squid to crash, resulting in a denial of service, or possibly cause
Squid to leak information into log files. (CVE-2016-3947)
Yuriy M. Kaminskiy discovered that the Squid cachemgr.cgi tool incorrectly
handled certain crafted data. A remote attacker could use this issue to
cause Squid to crash, resulting in a denial of service, or possibly execute
arbitrary code. (CVE-2016-4051)
It was discovered that Squid incorrectly handled certain Edge Side Includes
(ESI) responses. A remote attacker could possibly use this issue to cause
Squid to crash, resulting in a
Red Hat
squid: multiple issues in ESI processing
vendor_redhat·2016-04-20·CVSS 8.1
CVE-2016-4054 [HIGH] CWE-20 squid: multiple issues in ESI processing
squid: multiple issues in ESI processing
Buffer overflow in Squid 3.x before 3.5.17 and 4.x before 4.0.9 allows remote attackers to execute arbitrary code via crafted Edge Side Includes (ESI) responses.
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.
Package: squid (Red Hat Enterprise Linux 5) - Not affected
Debian
CVE-2016-4054: squid - Buffer overflow in Squid 3.x before 3.5.17 and 4.x before 4.0.9 allows remote at...
vendor_debian·2016·CVSS 8.1
CVE-2016-4054 [HIGH] CVE-2016-4054: squid - Buffer overflow in Squid 3.x before 3.5.17 and 4.x before 4.0.9 allows remote at...
Buffer overflow in Squid 3.x before 3.5.17 and 4.x before 4.0.9 allows remote attackers to execute arbitrary code via crafted Edge Side Includes (ESI) responses.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved
sid: resolved
trixie: resolved
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-4051 CVE-2016-4052 CVE-2016-4053 CVE-2016-4054 squid: various flaws [fedora-all]
bugzilla·2016-04-21·CVSS 8.8
CVE-2016-4051 [HIGH] CVE-2016-4051 CVE-2016-4052 CVE-2016-4053 CVE-2016-4054 squid: various flaws [fedora-all]
CVE-2016-4051 CVE-2016-4052 CVE-2016-4053 CVE-2016-4054 squid: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported
Bugzilla
CVE-2016-4052 CVE-2016-4053 CVE-2016-4054 squid: multiple issues in ESI processing
bugzilla·2016-04-21·CVSS 8.1
CVE-2016-4052 [HIGH] CVE-2016-4052 CVE-2016-4053 CVE-2016-4054 squid: multiple issues in ESI processing
CVE-2016-4052 CVE-2016-4053 CVE-2016-4054 squid: multiple issues in ESI processing
Due to buffer overflow issues Squid is vulnerable to a denial
of service attack when processing ESI responses.
Due to incorrect input validation Squid is vulnerable to public
information disclosure of the server stack layout when processing
ESI responses.
Due to incorrect input validation and buffer overflow Squid is
vulnerable to remote code execution when processing ESI
responses.
External references:
http://www.squid-cache.org/Advisories/SQUID-2016_6.txt
Upstream fix:
[RHEL-7]
http://www.squid-cache.org/Versions/v3/3.3/changesets/squid-3.3-12697.patch
[Fedora-22]
http://www.squid-cache.org/Versions/v3/3.4/changesets/squid-3.4-13235.patch
[Fedora-23]
http://www.squid-cache.org/Versions/v3/3.5/chan
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00010.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-08/msg00040.htmlhttp://lists.opensuse.org/opensuse-updates/2016-08/msg00069.htmlhttp://www.debian.org/security/2016/dsa-3625http://www.openwall.com/lists/oss-security/2016/04/20/6http://www.openwall.com/lists/oss-security/2016/04/20/9http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.htmlhttp://www.securityfocus.com/bid/86788http://www.securitytracker.com/id/1035647http://www.squid-cache.org/Advisories/SQUID-2016_6.txthttp://www.ubuntu.com/usn/USN-2995-1https://access.redhat.com/errata/RHSA-2016:1138https://access.redhat.com/errata/RHSA-2016:1139https://access.redhat.com/errata/RHSA-2016:1140https://security.gentoo.org/glsa/201607-01http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00010.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-08/msg00040.htmlhttp://lists.opensuse.org/opensuse-updates/2016-08/msg00069.htmlhttp://www.debian.org/security/2016/dsa-3625http://www.openwall.com/lists/oss-security/2016/04/20/6http://www.openwall.com/lists/oss-security/2016/04/20/9http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.htmlhttp://www.securityfocus.com/bid/86788http://www.securitytracker.com/id/1035647http://www.squid-cache.org/Advisories/SQUID-2016_6.txthttp://www.ubuntu.com/usn/USN-2995-1https://access.redhat.com/errata/RHSA-2016:1138https://access.redhat.com/errata/RHSA-2016:1139https://access.redhat.com/errata/RHSA-2016:1140https://security.gentoo.org/glsa/201607-01
2016-04-25
Published