Denial of service when handling HTTP/2 requests in Apache HTTP server



Published: 2016-12-06 | Updated: 2016-12-21
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2016-8740
CWE-ID CWE-401
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
Apache HTTP Server
Server applications / Web servers

Vendor Apache Foundation

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Memory leak

EUVDB-ID: #VU1209

Risk: Low

CVSSv3.1: 6.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2016-8740

CWE-ID: CWE-401 - Missing release of memory after effective lifetime

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to cause denial of service.

The vulnerability exists due to improper handling of HTTP/2 headers, when the Protocols configuration includes h2 or h2c. A remote attacker can send a specially crafted HTTP/2 request, containign CONTINUATION frames to vulnerable instance and consume all available memory resources.

Successful exploitation of the vulnerability will result in denial of service (DoS) of affected web server.

Mitigation

On December 20 vendor has issued a new version of Apache HTTP Server 2.4.25 to address this vulnerability.

As a temporary solution it is recommended to limit access to HTTP/2 protocol to trusted IPs only.

Vulnerable software versions

Apache HTTP Server: 2.4.17 - 2.4.23

External links

http://seclists.org/fulldisclosure/2016/Dec/17
http://httpd.apache.org/security/vulnerabilities_24.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###