在 Golang Chi Web 框架中, 中间件会跳过配置的可信 CIDR 范围内的任何 条目,但从未验证 中的直接 TCP 对等端是否属于该 CIDR。因此,能够直接访问 Go 服务器的客户端可以附加一个看似可信的代理地址,并由此操控中间件 方法返回的客户端 IP。 此问题影响 Chi 框架 5.4.0 之前的所有版本。
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