OWASP Hunting

Config & design

HTTP Request Smuggling

HTTP request smuggling exploits disagreements between front-end and back-end servers about request boundaries to bypass security controls and poison caches.

Payloads are read from main at 35c1f2b (committed 22 Nov 2026). Project version 1.0.2.

These payloads are for authorized testing only: systems you own, authorized bug bounty programs, or controlled lab environments. Unauthorized testing is illegal.

Payload files

Folder on GitHub

Use the arrow keys to move between payloads. Press Enter or C to copy the focused payload.

http-request-smuggling-payloads.txt

343 payloads · 7.3 KB
Source

Loading payloads for HTTP Request Smuggling…

What it is#

HTTP Request Smuggling occurs when a front-end and back-end server disagree about where one HTTP request ends and the next begins. By exploiting discrepancies in how they handle Content-Length and Transfer-Encoding headers, attackers can prefix content onto the next user's request, bypass security controls, and poison web caches.

Attack vectors#

  • Front-end/back-end server architectures (load balancers + app servers)
  • CDN edge servers (Akamai, Cloudflare) + origin servers
  • Reverse proxy configurations (Nginx/HAProxy + Apache/Tomcat)
  • AWS ALB and various backend combinations

Testing methodology#

  1. Send CL.TE probe: Content-Length underrepresents body, Transfer-Encoding: chunked used by backend
  2. Send TE.CL probe: Transfer-Encoding used by front-end, Content-Length by backend
  3. Measure timing differences indicating the backend is waiting for more data
  4. Use time-based and reflection-based techniques to confirm exploitability

Indicators of vulnerability#

  • Request times out or returns 400 error with timing matching smuggled byte
  • Subsequent requests receive responses intended for the smuggled prefix
  • Security controls bypass demonstrated for requests poisoned by smuggled content

Detection guidance#

Ensure front-end and back-end servers are configured to reject ambiguous requests. Disable Transfer-Encoding at the front-end if not required.

Mitigation and remediation#

  • Normalize ambiguous requests at the front-end before forwarding
  • Use HTTP/2 end-to-end where possible (eliminates CL/TE ambiguity)
  • Configure front-end to reject requests with both Content-Length and Transfer-Encoding headers
  • Keep proxy and server software updated

References#

Responsible Use

All content in this reference is for authorized security testing only. Use only on systems you own or have explicit written permission to test.

  • Systems and applications you own
  • Authorized penetration testing engagements
  • Bug bounty programs with defined scope
  • Educational lab environments (DVWA, WebGoat, HackTheBox)