漏洞描述
Nitro (nitropack < 2.13.4, nitro < 3.0.260429-beta) contains a proxy scope bypass in routeRules (CWE-22). When a route is configured with a proxy and a /** wildcard suffix (e.g. routeRules: { "/api/orders/**": { proxy: { to: "http://upstream/orders/**" } } }), Nitro matches the rule against the raw percent-encoded path, so a request containing an encoded traversal sequence (..%2f) escapes the intended scope and the still-encoded path is forwarded to the upstream. If the upstream decodes %2F to / and resolves .., the attacker reaches resources outside the configured proxy scope, including arbitrary internal files such as /etc/passwd.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。