CVE-2016-4051
published 2016-04-25CVE-2016-4051: Buffer overflow in cachemgr.cgi in Squid 2.x, 3.x before 3.5.17, and 4.x before 4.0.9 might allow remote attackers to cause a denial of service or execute…
PriorityP359high8.8CVSS 3.0
AVNACLPRNUIRSUCHIHAH
EPSS
18.28%
96.9th percentile
Buffer overflow in cachemgr.cgi in Squid 2.x, 3.x before 3.5.17, and 4.x before 4.0.9 might allow remote attackers to cause a denial of service or execute arbitrary code by seeding manager reports with crafted data.
Affected
161 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | squid | < squid 4.1-1 (bookworm) | squid 4.1-1 (bookworm) |
| oracle | linux | — | — |
| oracle | linux | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_workstation | — | — |
| 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 | — | — |
CVSS provenance
nvdv3.08.8HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8HIGH
vendor_redhat8.8HIGH
vendor_ubuntu8.2HIGH
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-5f9j-8ghm-9gxx: Stack-based buffer overflow in the munge_other_line function in cachemgr
ghsa_unreviewed·2022-05-13·CVSS 8.8
CVE-2016-5408 [HIGH] CWE-119 GHSA-5f9j-8ghm-9gxx: Stack-based buffer overflow in the munge_other_line function in cachemgr
Stack-based buffer overflow in the munge_other_line function in cachemgr.cgi in the squid package before 3.1.23-16.el6_8.6 in Red Hat Enterprise Linux 6 allows remote attackers to execute arbitrary code via unspecified vectors. NOTE: this vulnerability exists because of an incorrect fix for CVE-2016-4051.
GHSA
GHSA-ggh7-xm84-5v2g: Buffer overflow in cachemgr
ghsa_unreviewed·2022-05-13
CVE-2016-4051 [HIGH] CWE-119 GHSA-ggh7-xm84-5v2g: Buffer overflow in cachemgr
Buffer overflow in cachemgr.cgi in Squid 2.x, 3.x before 3.5.17, and 4.x before 4.0.9 might allow remote attackers to cause a denial of service or execute arbitrary code by seeding manager reports with crafted data.
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-4051: Buffer overflow in cachemgr
osv·2016-04-25·CVSS 8.8
CVE-2016-4051 [HIGH] CVE-2016-4051: Buffer overflow in cachemgr
Buffer overflow in cachemgr.cgi in Squid 2.x, 3.x before 3.5.17, and 4.x before 4.0.9 might allow remote attackers to cause a denial of service or execute arbitrary code by seeding manager reports with crafted data.
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: buffer overflow in cachemgr.cgi
vendor_redhat·2016-04-20·CVSS 8.8
CVE-2016-4051 [HIGH] CWE-122 squid: buffer overflow in cachemgr.cgi
squid: buffer overflow in cachemgr.cgi
Buffer overflow in cachemgr.cgi in Squid 2.x, 3.x before 3.5.17, and 4.x before 4.0.9 might allow remote attackers to cause a denial of service or execute arbitrary code by seeding manager reports with crafted data.
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.
Package: squid (Red Hat Enterprise Linux 5) - Will not fix
Red Hat
squid: Buffer overflow vulnerability in cachemgr.cgi tool
vendor_redhat·2016-04-20·CVSS 8.8
CVE-2016-5408 [HIGH] CWE-122 squid: Buffer overflow vulnerability in cachemgr.cgi tool
squid: Buffer overflow vulnerability in cachemgr.cgi tool
Stack-based buffer overflow in the munge_other_line function in cachemgr.cgi in the squid package before 3.1.23-16.el6_8.6 in Red Hat Enterprise Linux 6 allows remote attackers to execute arbitrary code via unspecified vectors. NOTE: this vulnerability exists because of an incorrect fix for CVE-2016-4051.
It was found that the fix for CVE-2016-4051 released via RHSA-2016:1138 did not properly prevent the stack overflow in the munge_other_line() function. A remote attacker could send specially crafted data to the Squid proxy, which would exploit the cachemgr CGI utility, possibly triggering execution of arbitrary code.
Package: squid (Red Hat Enterprise Linux 5) - Not affected
Package: squid34 (Red Hat Enterprise Linux 6) - Not a
Debian
CVE-2016-4051: squid - Buffer overflow in cachemgr.cgi in Squid 2.x, 3.x before 3.5.17, and 4.x before ...
vendor_debian·2016·CVSS 8.8
CVE-2016-4051 [HIGH] CVE-2016-4051: squid - Buffer overflow in cachemgr.cgi in Squid 2.x, 3.x before 3.5.17, and 4.x before ...
Buffer overflow in cachemgr.cgi in Squid 2.x, 3.x before 3.5.17, and 4.x before 4.0.9 might allow remote attackers to cause a denial of service or execute arbitrary code by seeding manager reports with crafted data.
Scope: local
bookworm: resolved (fixed in 4.1-1)
bullseye: resolved (fixed in 4.1-1)
forky: resolved (fixed in 4.1-1)
sid: resolved (fixed in 4.1-1)
trixie: resolved (fixed in 4.1-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-5408 squid: Buffer overflow vulnerability in cachemgr.cgi tool
bugzilla·2016-07-22·CVSS 8.8
CVE-2016-5408 [HIGH] CVE-2016-5408 squid: Buffer overflow vulnerability in cachemgr.cgi tool
CVE-2016-5408 squid: Buffer overflow vulnerability in cachemgr.cgi tool
Due to incorrect buffer management Squid cachemgr.cgi tool is vulnerable to a buffer overflow when processing remotely supplied inputs relayed to it from Squid.
This CVE is for an incomplete fix for CVE-2016-4051 as applied to squid packages in Red Hat Enterprise Linux 6, released via RHSA-2016:1138.
Upstream advisory for the original issue CVE-2016-4051:
http://www.squid-cache.org/Advisories/SQUID-2016_5.txt
Red Hat Enterprise Linux 6 erratum with the incomplete fix:
https://rhn.redhat.com/errata/RHSA-2016-1138.html
External Reference:
(none)
Discussion:
Acknowledgments:
Name: Amos Jeffries (Squid)
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 6
Via RHSA-2016:1573
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-4051 squid: buffer overflow in cachemgr.cgi
bugzilla·2016-04-21·CVSS 8.8
CVE-2016-4051 [HIGH] CVE-2016-4051 squid: buffer overflow in cachemgr.cgi
CVE-2016-4051 squid: buffer overflow in cachemgr.cgi
Due to incorrect buffer management Squid cachemgr.cgi tool is
vulnerable to a buffer overflow when processing remotely supplied
inputs relayed to it from Squid.
External references:
http://www.squid-cache.org/Advisories/SQUID-2016_5.txt
Upstream fixes:
[RHEL-7]
www.squid-cache.org/Versions/v3/3.3/changesets/SQUID-2016_5.patch
[Fedora-23]
http://www.squid-cache.org/Versions/v3/3.5/changesets/SQUID-2016_5.patch
[Fedora-22]
http://www.squid-cache.org/Versions/v3/3.4/changesets/SQUID-2016_5.patch
Discussion:
Created squid tracking bugs for this issue:
Affects: fedora-all [bug 1329144]
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 7
Via RHSA-2016:1139 https://access.redhat.com/errata/RHSA-
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/security-advisory/cpujul2016-2881720.htmlhttp://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.htmlhttp://www.securityfocus.com/bid/86788http://www.securityfocus.com/bid/91787http://www.securitytracker.com/id/1035646http://www.squid-cache.org/Advisories/SQUID-2016_5.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/security-advisory/cpujul2016-2881720.htmlhttp://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.htmlhttp://www.securityfocus.com/bid/86788http://www.securityfocus.com/bid/91787http://www.securitytracker.com/id/1035646http://www.squid-cache.org/Advisories/SQUID-2016_5.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