漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
@fastify/http-proxy vulnerable to prefix escape via URL-encoded characters
Vulnerability Description
Impact: @fastify/http-proxy versions up to and including 11.5.0 fail to rewrite the request prefix when the prefix segment is URL-encoded. Fastify's router URL-decodes paths for route matching, but request.url retains the original encoded form, and the prefix-rewrite step uses a literal string replace against the decoded prefix. A request that encodes one or more characters of the configured prefix therefore matches the route but skips the rewrite, so the raw encoded path is forwarded to the upstream unchanged. The upstream then decodes the path and serves it, letting an attacker reach upstream paths that the proxy was configured to hide via rewritePrefix, including internal or administrative endpoints.
Patches: upgrade to @fastify/http-proxy 11.6.0.
Workarounds: none.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Vulnerability Type
输入验证不恰当
Vulnerability Title
Fastify @fastify/http-proxy 输入验证错误漏洞
Vulnerability Description
Fastify @fastify/http-proxy是Fastify团队的一个HTTP代理模块。 Fastify @fastify/http-proxy 11.5.0及之前版本存在输入验证错误漏洞,该漏洞源于URL编码后的前缀段未能正确重写请求前缀,可能导致攻击者绕过代理配置的rewritePrefix,访问内部或管理端点。
CVSS Information
N/A
Vulnerability Type
N/A