exploiting-http-request-smuggling

Featured

Detecting and exploiting HTTP request smuggling vulnerabilities caused by Content-Length and Transfer-Encoding parsing discrepancies between front-end and back-end servers.

AI & Automation 15,448 stars 1852 forks Updated 1 weeks ago Apache-2.0

Install

View on GitHub

Quality Score: 97/100

Stars 20%
100
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Exploiting HTTP Request Smuggling ## When to Use - During authorized penetration tests when the application sits behind a reverse proxy, load balancer, or CDN - When testing infrastructure with multiple HTTP processors in the request chain (nginx + Apache, HAProxy + Gunicorn) - For assessing applications for HTTP desynchronization vulnerabilities - When other attack vectors are limited and you need to bypass front-end security controls - During security assessments of multi-tier web architectures ## Prerequisites - **Authorization**: Written penetration testing agreement explicitly covering request smuggling (high-risk test) - **Burp Suite Professional**: With HTTP Request Smuggler extension (Turbo Intruder) - **smuggler.py**: Automated HTTP request smuggling detection tool - **curl**: Compiled with HTTP/1.1 support and manual chunked encoding - **Target architecture knowledge**: Understanding of proxy/server chain (front-end and back-end) - **Caution**: Request smuggling can affect other users' requests; test carefully ## Workflow ### Step 1: Identify the HTTP Architecture Determine the proxy/server chain and HTTP parsing characteristics. ```bash # Identify front-end proxy/CDN curl -s -I "https://target.example.com/" | grep -iE \ "(server|via|x-served-by|x-cache|cf-ray|x-amz|x-varnish)" # Common architectures: # Cloudflare → Nginx → Application # AWS ALB → Apache → Application # HAProxy → Gunicorn → Python app # Nginx → Node.js/Express # Akamai → IIS → .NET app ...

Details

Author
mukul975
Repository
mukul975/Anthropic-Cybersecurity-Skills
Created
3 months ago
Last Updated
1 weeks ago
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

exploiting-http-request-smuggling

Detecting and exploiting HTTP request smuggling vulnerabilities caused by Content-Length and Transfer-Encoding parsing discrepancies between front-end and back-end servers.

11 Updated yesterday
26zl
AI & Automation Listed

hunt-http-smuggling

Hunt HTTP request smuggling (CL.TE, TE.CL, H2.CL, H2.TE). Cause: front-end proxy and back-end server disagree on where one request ends and the next begins (Content-Length vs Transfer-Encoding header parsing inconsistency). CL.TE: front-end uses CL, back uses TE → smuggle by sending TE: chunked but with body that fits CL count. TE.CL: opposite. H2.CL: HTTP/2 downgrade, smuggle CL into HTTP/1.1 back-end. Detection tools: Burp HTTP Request Smuggler extension, smuggler.py, h2csmuggler. Confirm: time-delay technique (smuggled GET with 30s timeout) — if front-end returns slow on next victim request, smuggling works. Validate: cache poisoning chain (smuggle request that gets cached for victim), credential theft (smuggle X-Forwarded-For override that captures next user's cookies), bypass auth (smuggled internal-path request). Real paid examples from major CDN deployments. Use when hunting H1 paid programs running CDN+origin stacks, when targeting load balancer / WAF bypass.

1,912 Updated 3 days ago
elementalsouls
AI & Automation Featured

exploiting-server-side-request-forgery

Identifying and exploiting SSRF vulnerabilities to access internal services, cloud metadata, and restricted network resources during authorized penetration tests.

15,448 Updated 1 weeks ago
mukul975