漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
http-proxy-middleware: multipart/form-data field injection via unescaped CRLF in `fixRequestBody`
Vulnerability Description
http-proxy-middleware is node.js http-proxy middleware. From 3.0.4 until 3.0.7 and 4.1.1, fixRequestBody() is the library's documented helper for re-emitting a request body that was already consumed by a body parser. When the outgoing Content-Type is multipart/form-data, it rebuilds the body with handlerFormDataBodyData(), which interpolates each req.body key and value directly into the multipart wire format without neutralizing CR/LF. A \r\n inside a value (or key) lets an attacker close the current part and inject an entirely new form part. Because the proxy's own body parser saw a single opaque value, any gateway-side policy or validation performed on req.body is evaluated against a different set of fields than the upstream backend ultimately parses a request/parameter desynchronization across the trust boundary. This vulnerability is fixed in 3.0.7 and 4.1.1.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
Vulnerability Type
对CRLF序列的转义处理不恰当(CRLF注入)
Vulnerability Title
Steven Chim http-proxy-middleware 输入验证错误漏洞
Vulnerability Description
chimurai http-proxy-middleware是chimurai个人开发者开源的一个Node.js的HTTP代理中间件。 Steven Chim http-proxy-middleware 3.0.7之前版本和4.1.1之前版本存在输入验证错误漏洞,该漏洞源于fixRequestBody()函数在处理multipart/form-data的Content-Type时,未正确中和对CR/LF,可能导致攻击者注入新的表单部分,造成请求或参数反同步。
CVSS Information
N/A
Vulnerability Type
N/A