跳到正文
Skillpedia
安全42k · #6447

competition-request-normalization-smuggling

它能做什么

这个工具帮助你理解计算机系统的不同部分如何解读它们收到的请求。它会检查路径、请求头或数据的读取方式是否存在差异,这些差异可能引发问题或意外行为。

适用场景

  • ✓当你怀疑一个请求被中间服务器和最终服务器以不同方式解读时。
  • ✓如果一个请求在测试中正常,但在生产环境中因细微差别而失败。
  • ✓想调查系统如何处理复杂的 URL 路径或有歧义的请求头时。

技能链接

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-request-normalization-smuggling/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-request-normalization-smuggling/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“分析代理服务器与后端服务器之间对请求的解读差异,找出路径规范化上的漏洞。”

每周 5 个新技能,1 分钟读完。

工作原理

工具会对略有改动的相同请求进行比较,看看解读在哪里发生了偏移。它会梳理请求经过的每一步,记录每个组件是如何处理它的。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Competition Request Normalization Smuggling

Use this skill only as a downstream specialization after $ctf-sandbox-orchestrator is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to $ctf-sandbox-orchestrator first.

Use this skill when request interpretation changes between proxy, middleware, and backend parser layers.

Reply in Simplified Chinese unless the user explicitly requests English.

Quick Start

  1. Map every parsing hop: client-facing proxy, gateway, app server, and downstream service.
  2. Record path normalization, header canonicalization, transfer framing, and host derivation at each hop.
  3. Capture one accepted baseline request and one differential request with minimal delta.
  4. Prove which hop interprets the request differently.
  5. Reproduce one minimal differential path that yields decisive behavior.

Workflow

1. Map Parse And Routing Boundaries

  • Record Host, forwarded headers, path decoding, slash collapsing, dot-segment handling, and case behavior.
  • Note Content-Length, Transfer-Encoding, chunk framing, and connection reuse behavior when relevant.
  • Keep edge parser and backend parser decisions side by side.

2. Prove Differential Interpretation

  • Build paired requests that differ in one canonicalization dimension only.
  • Capture proxy logs, backend logs, route match, and downstream request shape.
  • Show where route, auth scope, or body boundary diverges.

3. Reduce To Decisive Smuggling Chain

  • Compress to: crafted request -> parser differential across hops -> unintended routed request or hidden endpoint reach -> resulting effect.
  • State whether root cause is path normalization drift, header ambiguity, transfer framing differential, or host-derivation confusion.
  • If the chain becomes primarily runtime routing without framing tricks, hand off to runtime routing skill.

Read This Reference

  • Load references/request-normalization-smuggling.md for parse-differential checklist and evidence packaging.

What To Preserve

  • Raw request pairs, hop-by-hop interpretation, and final routed target
  • Exact normalization or framing delta that flips behavior
  • One minimal replayable differential request path
常见问题

什么是请求“规范化”(normalization)?

就是把请求的某些部分(比如 URL 路径)标准化或简化,让服务器能够一致地理解它。

什么是“请求走私”(request smuggling)?

这是一种攻击手法:攻击者发送恶意请求,让不同的服务器以不同方式解读,从而导致意外行为,或访问本应受限的区域。

使用这个工具需要懂网络知识吗?

并非严格必需,但了解请求在互联网上如何传输的基本概念(客户端、服务器、代理),会有助于理解分析结果。

详情

作者的原始描述

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for parser differentials, HTTP normalization gaps, ambiguous headers, path decoding drift, transfer-framing mismatches, and request smuggling routes. Use when the user asks to trace proxy and backend parse differences, conflicting path normalization, Host or forwarded-header ambiguity, CL/TE issues, or routing outcomes th

repo: zhaoxuya520/reverse-skill

热度

GitHub 星标
42k
排名
#6447
许可证
MIT
更新时间
2026/9/22

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能