Explain HTTP request smuggling and how infrastructure choices affect it.
AdvancedScenarioTLS, HTTP & Application Layer
Answer
Situation read → Front-end and back-end disagree about where one request ends.
What I'd do →
- Understand the cause: conflicting
Content-LengthandTransfer-Encodingheaders parsed differently by proxy and backend - Use the same HTTP stack at both layers or normalize requests at the edge
- Prefer HTTP/2 end to end, and reject ambiguous requests
- Keep proxies, WAF and servers patched
- Test with tools like Burp's HTTP Request Smuggler in a staging environment
Why → An attacker hides a second request inside the first, which the backend processes with another user's context.
Interview tip → Say you disable connection reuse between mismatched components as a mitigation.
More on TLS, HTTP & Application Layer
Explain what happens in a TLS 1.3 handshake in a few sentences.BeginnerYour site must redirect all HTTP traffic to HTTPS. How do you do it?BeginnerWhat is the difference between 4xx and 5xx errors, and which ones do you see most in networking problems?BeginnerHTTP/1.1, HTTP/2 and HTTP/3: what changed and why does it matter in operations?BeginnerThe browser console shows a CORS error when your frontend calls your API. What is it and how do you fix it?BeginnerHow do you check which certificate a server presents and when it expires?Beginner