Apache HTTP Server: mod_proxy_ajp: Possible request smuggling
Apache HTTP Server's mod_proxy_ajp module inconsistently interprets HTTP requests, allowing an attacker to smuggle requests to the AJP server it forwards to. This could lead to information disclosure or remote code execution.
- Triaged in 8 hours
- Fixed in 33 hours
- Paid in 33 hours
- Disclosed after 31 days
Summary by the program
moderate: mod_proxy_ajp: Possible request smuggling (CVE-2022-26377)
Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling') vulnerability in mod_proxy_ajp of Apache HTTP Server allows an attacker to smuggle requests to the AJP server it forwards requests to. This issue affects Apache HTTP Server Apache HTTP Server 2.4 version 2.4.53 and prior versions.
Acknowledgements: Ricter Z @ 360 Noah Lab
Reported to security team 2022-03-02 Update 2.4.54 released 2022-06-08 Affects <=2.4.53
Security Advisory: https://httpd.apache.org/security/vulnerabilities_24.html
The report
Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling') vulnerability in mod_proxy_ajp of Apache HTTP Server allows an attacker to smuggle requests to the AJP server it forwards requests to. This issue affects Apache HTTP Server Apache HTTP Server 2.4 version 2.4.53 and prior versions.
Impact
Information disclosure, RCE
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a mismatch between how mod_proxy_ajp parses HTTP request boundaries and how the backend AJP server interprets them, enabling request smuggling.
Impact
This could lead to information disclosure or remote code execution.
What the attacker needed
Apache HTTP Server 2.4.53 or earlier; mod_proxy_ajp enabled; AJP backend reachable
The fix
Version 2.4.54 was released after the report; the text does not state the fix.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Apache and the backend AJP server disagreed on request boundaries, so an attacker could sneak an extra hidden request past the front end to the backend.
What is Smuggling / CRLF?
A front end and a back end split one connection's bytes into requests differently, letting an attacker hide a request inside another user's.