允许在 Node.js 环境中运行 Hono 应用。在 1.19.10 到 2.1.3 版本中, 在 Hono 已为路由完成一次路径解码后,又对请求路径进行了第二次解码。因此,一个构造异常的百分号编码序列可能导致路由中间件基于编码后的路径进行判断,而静态文件解析却使用了不同的目录路径。未认证的攻击者可借此绕过挂载在受保护静态前缀上的中间件,读取配置静态根目录内的文件;但该漏洞无法用于访问该根目录之外的文件。此问题已在 2.1.3 版本中修复。
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.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| honojs | node-server | > = 1.19.10, < 2.1.3 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC