CRLF-Powered Desync Attacks Beheading HTTP Streams - #2614
Open
carlospolop wants to merge 4 commits into
Open
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://portswigger.net/research/crlf-powered-desync-attacks Content Categories: Based on the analysis, this content was categorized under "Pentesting Web > HTTP Request Smuggling / HTTP Desync Attack, with a subsection for CRLF-powered request splitting and desynchronization and a cross-reference from CRLF Injection". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Overview and impact
This research demonstrates that CRLF-based HTTP header injection is not merely an open-redirect or low-impact response-splitting issue. When attacker-controlled data is decoded and inserted into an HTTP/1 message, it can provide control over headers, request boundaries, response boundaries, and message framing. The authors escalate these primitives into HTTP request splitting, response queue poisoning (RQP), CL.TE and 0.CL desynchronization, request tunnelling, cac...
🔧 Technical Details
CRLF injection through decoded upstream values: If a proxy URL-decodes attacker-controlled data before concatenating it into an HTTP/1 request or response, encoded
%0d%0abecomes literal CRLF and can create headers, terminate header blocks, or introduce new messages. Nginx configurations using$uriinproxy_passorreturnare a common source. Probe for deterministic upstream responses using an invalid version for 505, unsupported transfer coding for 501, invalidExpectfor 417, or malformedContent-Lengthfor 400. Test paths, cookies, parameters, regex captures and values copied into custom headers.Request splitting and response queue poisoning: Inject two CRLF pairs followed by a complete second request. One front-end request then generates two upstream responses, shifting the response queue so later users receive responses intended for other clients. Repeating the...
🤖 Agent Actions
Done.
Updated:
src/pentesting-web/http-request-smuggling/README.mdAdded:
Expect: 100-continueVerified:
Note:
mdbook buildcouldn’t be run becausemdbookis not installed in this environment (/bin/sh: 1: mdbook: not found).This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.