-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2021.2097
                    Apache HTTP server security update
                               11 June 2021

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Apache HTTP Server
Publisher:         Apache Software Foundation
Operating System:  UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Denial of Service        -- Remote/Unauthenticated
                   Access Confidential Data -- Remote/Unauthenticated
                   Reduced Security         -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-31618 CVE-2021-30641 CVE-2021-26691
                   CVE-2021-26690 CVE-2020-35452 CVE-2020-13950
                   CVE-2020-13938 CVE-2019-17567 

Original Bulletin: 
   https://httpd.apache.org/security/vulnerabilities_24.html

Comment: This bulletin contains eight (8) Apache Software Foundation security
         advisories.

- --------------------------BEGIN INCLUDED TEXT--------------------

CVE-2021-31618: NULL pointer dereference on specially crafted HTTP/2 request

Severity: important

Vendor: The Apache Software Foundation

Versions Affected:
2.4.47
httpd 
Description:
Apache HTTP Server 2.4.47
Apache HTTP Server protocol handler for the HTTP/2 protocol checks received request headers against the 
size limitations as configured for the server and used for the HTTP/1 protocol as well. On violation of 
these restrictions and HTTP response is sent to the client with a status code indicating why the request 
was rejected.

This rejection response was not fully initialised in the HTTP/2 protocol handler if the offending header 
was the very first one received or appeared in a a footer. This led to a NULL pointer dereference on 
initialised memory, crashing reliably the child process. Since such a triggering HTTP/2 request is easy
to craft and submit, this can be exploited to DoS the server.

This affected versions prior to 2.4.47

Mitigation:
none

Credit:
Apache HTTP server would like to thank  LI ZHI XIN from NSFocus for reporting this.

References:
https://httpd.apache.org/security/vulnerabilities_24.html


- --------------------------------------------------------------------------------


CVE-2021-30641: Unexpected URL matching with 'MergeSlashes OFF'

Severity: moderate

Vendor: The Apache Software Foundation

Versions Affected:
httpd 2.4.39 to 2.4.46

Description:
Apache HTTP Server 2.4.39 to 2.4.46
Unexpected matching behavior with 'MergeSlashes OFF'
    
Mitigation:
n/a

Credit:
Discovered by Christoph Anton Mitterer

References:
https://httpd.apache.org/security/vulnerabilities_24.html


- --------------------------------------------------------------------------------


CVE-2021-26691: mod_session response handling heap overflow

Severity: low

Vendor: The Apache Software Foundation

Versions Affected:
httpd 2.4.0 to 2.4.46

Description:
Apache HTTP Server 2.4.0 to 2.4.46
A specially crafted SessionHeader sent by an origin server could cause a heap overflow
    
Mitigation:
None

Credit:
Discovered internally by Christophe Jaillet

References:
https://httpd.apache.org/security/vulnerabilities_24.html


- --------------------------------------------------------------------------------


CVE-2021-26690: mod_session NULL pointer dereference

Severity: low

Vendor: The Apache Software Foundation

Versions Affected:
httpd 2.4.0 to 2.4.46

Description:
Apache HTTP Server 2.4.0 to 2.4.46
A specially crafted Cookie header handled by mod_session can cause a NULL pointer dereference 
and crash, leading to a possible Denial Of Service
    
Mitigation:
None

Credit:
This issue was discovered and reported by GHSL team member @antonio-morales (Antonio Morales)

References:
https://httpd.apache.org/security/vulnerabilities_24.html


- --------------------------------------------------------------------------------


CVE-2020-35452: mod_auth_digest possible stack overflow by one nul byte

Severity: low

Vendor: The Apache Software Foundation

Versions Affected:
httpd 2.4.0 to 2.4.46

Description:
Apache HTTP Server 2.4.0 to 2.4.46
A specially crafted Digest nonce can cause a stack overflow in mod_auth_digest. There is no report
of this overflow being exploitable, nor the Apache HTTP Server team could create one, though some 
particular compiler and/or compilation option might make it possible, with limited consequences 
anyway due to the size (a single byte) and the value (zero byte) of the overflow
    
Mitigation:
None

Credit:
This issue was discovered and reported by GHSL team member @antonio-morales (Antonio Morales)

References:
https://httpd.apache.org/security/vulnerabilities_24.html


- --------------------------------------------------------------------------------


CVE-2020-13950: mod_proxy_http NULL pointer dereference

Severity: low

Vendor: The Apache Software Foundation

Versions Affected:
httpd 2.4.41 to 2.4.46

Description:
Apache HTTP Server 2.4.41 to 2.4.46
mod_proxy_http can be made to crash (NULL pointer dereference) with specially crafted requests using
both Content-Length and Transfer-Encoding headers, leading to a Denial of Service

Mitigation:
None

Credit:
Reported by Marc Stern (<marc.stern approach.be>)

References:
https://httpd.apache.org/security/vulnerabilities_24.html


- --------------------------------------------------------------------------------


CVE-2020-13938: Improper Handling of Insufficient Privileges

Severity: moderate

Vendor: The Apache Software Foundation

Versions Affected:
httpd 2.4.0 to 2.4.47

Description:
Apache HTTP Server 2.4.0 to 2.4.47
Unprivileged local users can stop httpd on Windows
    
Mitigation:
n/a

Credit:
Discovered by Ivan Zhakov

References:
https://httpd.apache.org/security/vulnerabilities_24.html


- --------------------------------------------------------------------------------


CVE-2019-17567: mod_proxy_wstunnel tunneling of non Upgraded connections

Severity: moderate

Vendor: The Apache Software Foundation

Versions Affected:
httpd 2.4.6 to 2.4.46

Description:
Apache HTTP Server 2.4.6 to 2.4.46
mod_proxy_wstunnel configured on an URL that is not necessarily Upgraded by the origin server was
tunneling the whole connection regardless, thus allowing for subsequent requests on the same connection
to pass through with no HTTP validation, authentication or authorization possibly configured.
    
Mitigation:
Configure mod_proxy_wstunnel on URLs that are always Upgraded by the origin server

Credit:
Reported by Mikhail Egorov (<0ang3el gmail.com>)

References:
https://httpd.apache.org/security/vulnerabilities_24.html

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBYMLKC+NLKJtyKPYoAQhAkw/9EPWdsU02lNMnntz97xKK+khk8e/CIF9C
HHnyJKBwuwcBMzXAzB5xtBW/WnbOWBittxjlWnMcobeQUEdNLVyCwDHfbErLVPRA
rbLQcOiaWUw7hh6RbjS1DEBtgHkriZM9/HEKkntpLfvpxPVu0UCihKslFQfkjmxZ
rJ845j5/7h/b6D+JhZFXttNF9OOz75dkyEF+0YK694eb6AqFG8RQ1bOcuUn8Nv7V
Jh5nN7ctq54XklLNWpX+AIMi4NLehOdz541NawdUuULHQBMaJX+hrDnB1te43srE
rkuTpK3FLBbpjKbzoBMum++IUqLGyTbux4NQSG/b9tDUPRQqiX/cFIYP4ASt5RYJ
A6H56xFgzyrmB00Pwz7/CPIOWYQDrZ7+JATbNHOwCamQX9dgzOP2K7THZB6skxRt
ph8ARoL4rZ2fLeOT7UO59Grd785mRCPLzJeRSUfAuKHMW0hEhbI6VHubeSk6c+BQ
JwhQLEOaztJVHm5ON2jn0jEIBV8L7ZlhILSGod1LoERSK2+g20wUQ6moGUi3Stww
bn6/re+QMCZrmPj6NYusUtXrl2YSLcQXgwcAsLsBAlqVlbdehNurbuqSthOOvARj
mh9+TJKh+meN11Y/XNscFAhbrDI5bBIcTUeubaiBZgt5gGNlh63TdJKWGevT24Tc
7evOTloryuo=
=h4UP
-----END PGP SIGNATURE-----