Denial of service in HAProxy



Published: 2018-05-10
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2018-10184
CWE-ID CWE-122
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
HAProxy
Server applications / IDS/IPS systems, Firewalls and proxy servers

Vendor HAProxy

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Heap-based buffer overflow

EUVDB-ID: #VU12524

Risk: Medium

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

CVE-ID: CVE-2018-10184

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote unauthenticated attacker to DoS condition on the target system.

The weakness exists in the mux_h2.c source code file due to improper H2 frame length checking. The H2 frame length is checked against the max_frame_size setting instead of being checked against the bufsize. A remote attacker can send a request that submits a large H2 frame, trigger heap-based buffer overflow and cause the service to crash.

Mitigation

Update to version 1.8.8.

Vulnerable software versions

HAProxy: 1.8.0 - 1.8.7

External links

http://git.haproxy.org/?p=haproxy-1.8.git&a=commit&h=cd117685f0cff4f2f5577ef6a21eaae...


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.



###SIDEBAR###