ID:6736 - Exploit for Inconsistent interpretation of HTTP requests in HAProxy - CVE-2021-40346

 
Main Vulnerability Database Exploits ID:6736 - Exploit for Inconsistent interpretation of HTTP requests in HAProxy - CVE-2021-40346

ID:6736 - Exploit for Inconsistent interpretation of HTTP requests in HAProxy - CVE-2021-40346

Published: September 12, 2021


Vulnerability identifier: #VU56401
Vulnerability risk: Medium
CVE-ID: CVE-2021-40346
CWE-ID: CWE-444
Exploitation vector: Remote access
Vulnerable software:
HAProxy

Link to public exploit:


Vulnerability description

The vulnerability allows a remote attacker to preform HTTP request smuggling attacks.

The vulnerability exists due to improper validation of HTTP/2 requests within the htx_add_header() and htx_add_trailer() functions when processing HTTP header name length encoding in the HTX representation. A remote attacker can send a specially crafted HTTP request to the server and smuggle HTTP headers.

Successful exploitation of vulnerability may allow an attacker to poison HTTP cache and perform phishing attacks.


Remediation

Install update from vendor's website.