Vulnerability Information
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.
Vulnerability Title
Header injection via WebSocket upgrade parser differential allows ASGI scope header spoofing
Vulnerability Description
daphne before 4.2.2 reconstructs a raw HTTP request from Twisted's parsed headers and feeds it to autobahn for WebSocket handshake processing. Twisted does not treat \x0b, \x0c, \x1c, \x1d, \x1e, or \x85 as header line separators, but autobahn decodes header values to str and calls splitlines(). An attacker can exploit this parser differential to inject additional headers into the ASGI scope passed to the application. daphne now rejects requests with these bytes in any header value with a 400 response.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Vulnerability Type
HTTP请求的解释不一致性(HTTP请求私运)
Vulnerability Title
daphne 安全漏洞
Vulnerability Description
daphne是Django开源的一个支持HTTP、HTTP2和WebSocket的ASGI协议服务器。 daphne 4.2.2之前版本存在安全漏洞,该漏洞源于解析器差异,可能导致攻击者向ASGI作用域注入额外标头。
CVSS Information
N/A
Vulnerability Type
N/A