PT-2022-16864 · Mitmproxy+1 · Mitmproxy+1
Zeyu2001
·
Published
2022-03-21
·
Updated
2025-02-10
·
CVE-2022-24766
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
mitmproxy versions 7.0.4 and below
Description
A malicious client or server can perform HTTP request smuggling attacks through mitmproxy. This means a malicious client/server could smuggle a request/response through mitmproxy as part of another request/response's HTTP message body. While mitmproxy would only see one request, the target server would see multiple requests. A smuggled request is still captured as part of another request's body, but it does not appear in the request list and does not go through the usual mitmproxy event hooks, where users may have implemented custom access control checks or input sanitization.
Recommendations
For mitmproxy versions 7.0.4 and below, update to mitmproxy 8.0.0 or above to fix the vulnerability. Unless mitmproxy is used to protect an HTTP/1 service, no action is required.
Exploit
Fix
HTTP Request/Response Smuggling
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Mitmproxy