Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 524
Alerts This Week
Warning Icon 1 524

Red Hat: RHSA-2017:3018-01 Moderate: httpd24 Use-After-Free Issue

red hat
Calendar Grey October 24, 2017
Scroller Redhat
Uncover insights regarding the Red Hat notification for httpd24, which tackles a security flaw of moderate severity along with associated updates and improvements.
An update for httpd24, httpd24-curl, httpd24-httpd, httpd24-mod_auth_kerb, and httpd24-nghttp2 is now available for Red Hat Software Collections

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.

Summary

The Apache HTTP Server is a powerful, efficient, and extensible web server. The httpd24 packages provide a recent stable release of version 2.4 of the Apache HTTP Server, along with the mod_auth_kerb module.
The following packages have been upgraded to a later upstream version: httpd24-httpd (2.4.27). (BZ#1461819)
Security Fix(es):
* A use-after-free flaw was found in the way httpd handled invalid and previously unregistered HTTP methods specified in the Limit directive used in an .htaccess file. A remote attacker could possibly use this flaw to disclose portions of the server memory, or cause httpd child process to crash. (CVE-2017-9798)
Red Hat would like to thank Hanno Böck for reporting this issue.
Bug Fix(es):
* The httpd package installation script tried to create both the "apache" user and group in a single "useradd" command. Consequently, when the "apache" group had already been created on the system, the command failed, and the "apache" user was not created. To fix this bug, the "apache" group is now created by a separate command, and the "apache" user is correctly created during httpd installation even when the "apache" group exists. (BZ#1486843)
* When installing the httpd24 Software Collection using the "yum" command, if the "apache" group already existed on the system with GID other than 48, the "apache" user was not created. This update fixes the bug. (BZ#1487164)
* With this update, it is possible to run the mod_rewrite external mapping program as a non-root user. (BZ#1486832)
* On a Red Hat Enterprise Linux 6 system, when the httpd service was stopped twice in a row by running the "service httpd stop" command, a misleading message was returned: "Stopping httpd: [FAILED]". This bug has been fixed. (BZ#1418395)
* When the "service httpd24-httpd graceful" command was used on Red Hat Enterprise Linux 7 while the httpd24-httpd service was not running, the daemon was started without being tracked by systemd. As a consequence, the daemon ran in an incorrect SELinux domain. This bug has been fixed, and the httpd daemon runs in the correct SELinux domain in the described scenario. (BZ#1440858)
Enhancement(s):
* With this update, the mod_ssl module supports the ALPN protocol on Red Hat Enterprise Linux 7.4 and later versions. (BZ#1327548)
For further details, see the Red Hat Software Collections 3.0 Release Notes linked from the References section.

References

https://access.redhat.com/security/cve/CVE-2017-9798 https://access.redhat.com/security/updates/classification#moderate https://docs.redhat.com/en/documentation/Red_Hat_Software_Collections/3/html/3.0_Release_Notes/chap-RHSCL.html#sect-RHSCL-Changes-httpd

Package List

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6):
Source: httpd24-1.1-18.el6.src.rpm httpd24-httpd-2.4.27-8.el6.src.rpm
noarch: httpd24-httpd-manual-2.4.27-8.el6.noarch.rpm
x86_64: httpd24-1.1-18.el6.x86_64.rpm httpd24-httpd-2.4.27-8.el6.x86_64.rpm httpd24-httpd-debuginfo-2.4.27-8.el6.x86_64.rpm httpd24-httpd-devel-2.4.27-8.el6.x86_64.rpm httpd24-httpd-tools-2.4.27-8.el6.x86_64.rpm httpd24-mod_ldap-2.4.27-8.el6.x86_64.rpm httpd24-mod_proxy_html-2.4.27-8.el6.x86_64.rpm httpd24-mod_session-2.4.27-8.el6.x86_64.rpm httpd24-mod_ssl-2.4.27-8.el6.x86_64.rpm httpd24-runtime-1.1-18.el6.x86_64.rpm httpd24-scldevel-1.1-18.el6.x86_64.rpm
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7):
Source: httpd24-1.1-18.el6.src.rpm httpd24-httpd-2.4.27-8.el6.src.rpm
noarch: httpd24-httpd-manual-2.4.27-8.el6.noarch.rpm
x86_64: httpd24-1.1-18.el6.x86_64.rpm httpd24-httpd-2.4.27-8.el6.x86_64.rpm httpd24-httpd-debuginfo-2.4.27-8.el6.x86_64.rpm httpd24-httpd-devel-2.4.27-8.el6.x86_64.rpm httpd24-httpd-tools-2.4.27-8.el6.x86_64.rpm httpd24-mod_ldap-2.4.27-8.el6.x86_64.rpm httpd24-mod_proxy_html-2.4.27-8.el6.x86_64.rpm httpd24-mod_session-2.4.27-8.el6.x86_64.rpm httpd24-mod_ssl-2.4.27-8.el6.x86_64.rpm httpd24-runtime-1.1-18.el6.x86_64.rpm

Read the Full Advisory


Advisory ID: RHSA-2017:3018-01
Product: Red Hat Software Collections
Issue date: 2017-10-24

Topic

An update for httpd24, httpd24-curl, httpd24-httpd, httpd24-mod_auth_kerb,and httpd24-nghttp2 is now available for Red Hat Software Collections.Red Hat Product Security has rated this update as having a security impactof Moderate. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.

Relevant Releases Architectures

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) - noarch, x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) - aarch64, noarch, ppc64le, s390x, x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) - noarch, x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) - aarch64, noarch, ppc64le, s390x, x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) - aarch64, noarch, ppc64le, s390x, x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) - noarch, x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) - noarch, x86_64

Bugs Fixed

1327548 - RFE: enable ALPN support in mod_ssl

1418395 - httpd stop prints failure if service already stopped

1428940 - mod_proxy_fcgi (more) wrong behavior with 304

1440858 - graceful start of stopped service fail

1457316 - [RFE] please consider using scl_package_override

1480506 - mod_authz_dbd segfaults when AuthzDBDQuery missing

1486843 - apache user is not created during httpd installation when apache group already exist

1487164 - apache user is not created during httpd installation when apache group already exist with GID other than 48

1488541 - rotatelogs %Z does not use correct timezone respecting DST

1490344 - CVE-2017-9798 httpd: Use-after-free by limiting unregistered HTTP method (Optionsbleed)

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.