CVE-2016-5388
Tomcat: CGI sets environmental variable based on user supplied Proxy request header
Severity
ModerateRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · July 18, 2016
Updated · August 5, 2026
Description
It was discovered that tomcat used the value of the Proxy header from HTTP requests to initialize the HTTP_PROXY environment variable for CGI scripts, which in turn was incorrectly used by certain HTTP client implementations to configure the proxy for outgoing HTTP requests. A remote attacker could possibly use this flaw to redirect HTTP requests performed by a CGI script to an attacker-controlled proxy via a malicious HTTP request.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 3.5CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N
CVSS 2.0 · 2.6AV:N/AC:H/Au:N/C:N/I:P/A:N
CWE-20 · Improper Input Validation