Sanic 是一个开源的 Python Web 服务器/框架。在 25.12.0 版本中,Sanic 的核心 HTTP/1.1 分块编码(chunked)请求体处理逻辑存在问题:在读取终止的零长度分块(terminating zero chunk)之后,未完全消费掉分块末尾的 trailer 部分,随后便复用 keep-alive 连接缓冲区。一个远程未认证的攻击者可以将自己控制的字节放置在该 trailer 区域,导致 Sanic 在外部请求解析和路由过程中,将这些字节解析并路由为一个隐藏的第二个请求。这破坏了
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet