Interview Prep/Networking/TLS, HTTP & Application Layer

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 →

  1. Understand the cause: conflicting Content-Length and Transfer-Encoding headers parsed differently by proxy and backend
  2. Use the same HTTP stack at both layers or normalize requests at the edge
  3. Prefer HTTP/2 end to end, and reject ambiguous requests
  4. Keep proxies, WAF and servers patched
  5. 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.

All Networking questions Roadmap: Networking for DevOps

More on TLS, HTTP & Application Layer