CVE Vulnerabilities

CVE-2024-1135

Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

Published: Apr 16, 2024 | Modified: Jun 30, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 IMPORTANT
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Ubuntu
MEDIUM

Gunicorn fails to properly validate Transfer-Encoding headers, leading to HTTP Request Smuggling (HRS) vulnerabilities. By crafting requests with conflicting Transfer-Encoding headers, attackers can bypass security restrictions and access restricted endpoints. This issue is due to Gunicorns handling of Transfer-Encoding headers, where it incorrectly processes requests with multiple, conflicting Transfer-Encoding headers, treating them as chunked regardless of the final encoding specified. This vulnerability allows for a range of attacks including cache poisoning, session manipulation, and data exposure.

Weakness

The product acts as an intermediary HTTP agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed HTTP requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination.

Affected Software

Name Vendor Start Version End Version
Red Hat Ansible Automation Platform 2.4 for RHEL 8 RedHat python3x-gunicorn-0:22.0.0-1.el8ap *
Red Hat Ansible Automation Platform 2.4 for RHEL 9 RedHat python-gunicorn-0:22.0.0-1.el9ap *
Red Hat OpenShift Container Platform 4.12 RedHat openshift4/ose-ironic-rhel9:v4.12.0-202406060836.p0.g9a3e609.assembly.stream.el9 *
Red Hat OpenShift Container Platform 4.13 RedHat openshift4/ose-ironic-rhel9:v4.13.0-202405072309.p0.g881e793.assembly.stream.el9 *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-ironic-rhel9:v4.14.0-202405161337.p0.g62ee6d0.assembly.stream.el9 *
Red Hat OpenShift Container Platform 4.15 RedHat openshift4/ose-ironic-rhel9:v4.15.0-202405161507.p0.ge2415c8.assembly.stream.el9 *
Red Hat OpenStack Platform 16.2 RedHat python-gunicorn-0:19.9.0-11.el8ost *
Red Hat OpenStack Platform 17.1 for RHEL 9 RedHat python-gunicorn-0:20.0.4-7.el9ost *
Red Hat Satellite 6.15 for RHEL 8 RedHat python-gunicorn-0:22.0.0-1.el8pc *
Red Hat Satellite 6.15 for RHEL 8 RedHat python-gunicorn-0:22.0.0-1.el8pc *
Gunicorn Ubuntu mantic *

Extended Description

HTTP requests or responses (“messages”) can be malformed or unexpected in ways that cause web servers or clients to interpret the messages in different ways than intermediary HTTP agents such as load balancers, reverse proxies, web caching proxies, application firewalls, etc. For example, an adversary may be able to add duplicate or different header fields that a client or server might interpret as one set of messages, whereas the intermediary might interpret the same sequence of bytes as a different set of messages. For example, discrepancies can arise in how to handle duplicate headers like two Transfer-encoding (TE) or two Content-length (CL), or the malicious HTTP message will have different headers for TE and CL. The inconsistent parsing and interpretation of messages can allow the adversary to “smuggle” a message to the client/server without the intermediary being aware of it. This weakness is usually the result of the usage of outdated or incompatible HTTP protocol versions in the HTTP agents.

Potential Mitigations

References