CVE-2016-5408: Buffer Overflow
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-20165.txt
Red Hat Enterprise Linux 6 erratum with the incomplete fix:
https://rhn.redhat.com/errata/RHSA-2016-1138.html
External Reference:
(none)
Other sources
Stack-based buffer overflow in the mungeotherline function in cachemgr.cgi in the squid package before 3.1.23-16.el68.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.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/squidto a version that resolves this vulnerability.Fixed in 3.5.17 - Upgrade
Upgrade
redhat/squidto a version that resolves this vulnerability.Fixed in 4.0.9
Event History
Frequently Asked Questions
What is the severity of CVE-2016-5408?
CVE-2016-5408 is classified as a high severity vulnerability due to its potential to allow remote attackers to execute arbitrary code.
How do I fix CVE-2016-5408?
To fix CVE-2016-5408, you should update the squid package to version 3.1.23-16.el6_8.6 or later.
What systems are affected by CVE-2016-5408?
CVE-2016-5408 affects Red Hat Enterprise Linux 6 and Oracle Linux 6 systems using the vulnerable squid package.
Can CVE-2016-5408 be exploited remotely?
Yes, CVE-2016-5408 can be exploited remotely, making it particularly dangerous for unpatched systems.
What is the nature of the vulnerability in CVE-2016-5408?
CVE-2016-5408 is a stack-based buffer overflow vulnerability that can lead to arbitrary code execution.