HTTP Request Smuggling via Premature Upgrade
Cloudflare https://github.com/cloudflare/pingora
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| pingora-core crates.io |
|
|
Original description
An HTTP request smuggling vulnerability (CWE-444) was found in Pingora's handling of HTTP/1.1 connection upgrades. The issue occurs when a Pingora proxy reads a request containing an Upgrade header, causing the proxy to pass through the rest of the bytes on the connection to a backend before the backend has accepted the upgrade. An attacker can thus directly forward a malicious payload after a request with an Upgrade header to that backend in a way that may be interpreted as a subsequent request header, bypassing proxy-level security controls and enabling cross-user session hijacking.