RedHat: RHSA-2016-1422:01 Important: httpd security and bug fix update
Summary
The httpd packages provide the Apache HTTP Server, a powerful, efficient,
and extensible web server.
Security Fix(es):
* It was discovered that httpd 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.
(CVE-2016-5387)
Note: After this update, httpd will no longer pass the value of the Proxy
request header to scripts via the HTTP_PROXY environment variable.
Red Hat would like to thank Scott Geary (VendHQ) for reporting this issue.
Bug Fix(es):
* In a caching proxy configuration, the mod_cache module would treat
content as stale if the Expires header changed when refreshing a cached
response. As a consequence, an origin server returning content without a
fixed Expires header would not be treated as cacheable. The mod_cache
module has been fixed to ignore changes in the Expires header when
refreshing content. As a result, such content is now cacheable, improving
performance and reducing load at the origin server. (BZ#1347648)
* The HTTP status code 451 "Unavailable For Legal Reasons" was not usable
in the httpd configuration. As a consequence, modules such as mod_rewrite
could not be configured to return a 451 error if required for legal
purposes. The 451 status code has been added to the list of available error
codes, and modules can now be configured to return a 451 error if required.
(BZ#1353269)
Summary
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 the updated packages, the httpd daemon will be restarted
automatically.
References
https://access.redhat.com/security/cve/CVE-2016-5387 https://access.redhat.com/security/updates/classification/#important https://access.redhat.com/security/vulnerabilities/httpoxy https://access.redhat.com/solutions/2435501
Package List
Red Hat Enterprise Linux Client Optional (v. 7):
Source:
httpd-2.4.6-40.el7_2.4.src.rpm
noarch:
httpd-manual-2.4.6-40.el7_2.4.noarch.rpm
x86_64:
httpd-2.4.6-40.el7_2.4.x86_64.rpm
httpd-debuginfo-2.4.6-40.el7_2.4.x86_64.rpm
httpd-devel-2.4.6-40.el7_2.4.x86_64.rpm
httpd-tools-2.4.6-40.el7_2.4.x86_64.rpm
mod_ldap-2.4.6-40.el7_2.4.x86_64.rpm
mod_proxy_html-2.4.6-40.el7_2.4.x86_64.rpm
mod_session-2.4.6-40.el7_2.4.x86_64.rpm
mod_ssl-2.4.6-40.el7_2.4.x86_64.rpm
Red Hat Enterprise Linux ComputeNode Optional (v. 7):
Source:
httpd-2.4.6-40.el7_2.4.src.rpm
noarch:
httpd-manual-2.4.6-40.el7_2.4.noarch.rpm
x86_64:
httpd-2.4.6-40.el7_2.4.x86_64.rpm
httpd-debuginfo-2.4.6-40.el7_2.4.x86_64.rpm
httpd-devel-2.4.6-40.el7_2.4.x86_64.rpm
httpd-tools-2.4.6-40.el7_2.4.x86_64.rpm
mod_ldap-2.4.6-40.el7_2.4.x86_64.rpm
mod_proxy_html-2.4.6-40.el7_2.4.x86_64.rpm
mod_session-2.4.6-40.el7_2.4.x86_64.rpm
mod_ssl-2.4.6-40.el7_2.4.x86_64.rpm
Red Hat Enterprise Linux Server (v. 7):
Source:
httpd-2.4.6-40.el7_2.4.src.rpm
noarch:
httpd-manual-2.4.6-40.el7_2.4.noarch.rpm
ppc64:
httpd-2.4.6-40.el7_2.4.ppc64.rpm
httpd-debuginfo-2.4.6-40.el7_2.4.ppc64.rpm
httpd-devel-2.4.6-40.el7_2.4.ppc64.rpm
httpd-tools-2.4.6-40.el7_2.4.ppc64.rpm
mod_ssl-2.4.6-40.el7_2.4.ppc64.rpm
ppc64le:
httpd-2.4.6-40.el7_2.4.ppc64le.rpm
httpd-debuginfo-2.4.6-40.el7_2.4.ppc64le.rpm
httpd-devel-2.4.6-40.el7_2.4.ppc64le.rpm
httpd-tools-2.4.6-40.el7_2.4.ppc64le.rpm
mod_ssl-2.4.6-40.el7_2.4.ppc64le.rpm
s390x:
httpd-2.4.6-40.el7_2.4.s390x.rpm
httpd-debuginfo-2.4.6-40.el7_2.4.s390x.rpm
httpd-devel-2.4.6-40.el7_2.4.s390x.rpm
httpd-tools-2.4.6-40.el7_2.4.s390x.rpm
mod_ssl-2.4.6-40.el7_2.4.s390x.rpm
x86_64:
httpd-2.4.6-40.el7_2.4.x86_64.rpm
httpd-debuginfo-2.4.6-40.el7_2.4.x86_64.rpm
httpd-devel-2.4.6-40.el7_2.4.x86_64.rpm
httpd-tools-2.4.6-40.el7_2.4.x86_64.rpm
mod_ssl-2.4.6-40.el7_2.4.x86_64.rpm
Red Hat Enterprise Linux Server Optional (v. 7):
ppc64:
httpd-debuginfo-2.4.6-40.el7_2.4.ppc64.rpm
mod_ldap-2.4.6-40.el7_2.4.ppc64.rpm
mod_proxy_html-2.4.6-40.el7_2.4.ppc64.rpm
mod_session-2.4.6-40.el7_2.4.ppc64.rpm
ppc64le:
httpd-debuginfo-2.4.6-40.el7_2.4.ppc64le.rpm
mod_ldap-2.4.6-40.el7_2.4.ppc64le.rpm
mod_proxy_html-2.4.6-40.el7_2.4.ppc64le.rpm
mod_session-2.4.6-40.el7_2.4.ppc64le.rpm
s390x:
httpd-debuginfo-2.4.6-40.el7_2.4.s390x.rpm
mod_ldap-2.4.6-40.el7_2.4.s390x.rpm
mod_proxy_html-2.4.6-40.el7_2.4.s390x.rpm
mod_session-2.4.6-40.el7_2.4.s390x.rpm
x86_64:
httpd-debuginfo-2.4.6-40.el7_2.4.x86_64.rpm
mod_ldap-2.4.6-40.el7_2.4.x86_64.rpm
mod_proxy_html-2.4.6-40.el7_2.4.x86_64.rpm
mod_session-2.4.6-40.el7_2.4.x86_64.rpm
Red Hat Enterprise Linux Workstation (v. 7):
Source:
httpd-2.4.6-40.el7_2.4.src.rpm
noarch:
httpd-manual-2.4.6-40.el7_2.4.noarch.rpm
x86_64:
httpd-2.4.6-40.el7_2.4.x86_64.rpm
httpd-debuginfo-2.4.6-40.el7_2.4.x86_64.rpm
httpd-devel-2.4.6-40.el7_2.4.x86_64.rpm
httpd-tools-2.4.6-40.el7_2.4.x86_64.rpm
mod_ssl-2.4.6-40.el7_2.4.x86_64.rpm
Red Hat Enterprise Linux Workstation Optional (v. 7):
x86_64:
httpd-debuginfo-2.4.6-40.el7_2.4.x86_64.rpm
mod_ldap-2.4.6-40.el7_2.4.x86_64.rpm
mod_proxy_html-2.4.6-40.el7_2.4.x86_64.rpm
mod_session-2.4.6-40.el7_2.4.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
https://access.redhat.com/security/team/key/
Topic
An update for httpd is now available for Red Hat Enterprise Linux 7.Red Hat Product Security has rated this update as having a security impactof Important. A Common Vulnerability Scoring System (CVSS) base score,which gives a detailed severity rating, is available for each vulnerabilityfrom the CVE link(s) in the References section.
Topic
Relevant Releases Architectures
Red Hat Enterprise Linux Client Optional (v. 7) - noarch, x86_64
Red Hat Enterprise Linux ComputeNode Optional (v. 7) - noarch, x86_64
Red Hat Enterprise Linux Server (v. 7) - noarch, 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) - noarch, x86_64
Red Hat Enterprise Linux Workstation Optional (v. 7) - x86_64
Bugs Fixed
1347648 - Apache can not cache content if Expires header is modified
1353269 - Support sending http 451 status code from RewriteRule
1353755 - CVE-2016-5387 Apache HTTPD: sets environmental variable based on user supplied Proxy request header