漏洞信息
Shenlong is analyzing...
对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
File Upload Block Bypass in Chainlit
Vulnerability Description
Chainlit is vulnerable to a file upload block bypass in the "spontaneous_file_upload" functionality. Disabling the feature with the "enabled = false" option only affects the frontend, while the backend upload endpoints remain active and can be abused directly. An attacker with a valid session ID can send requests to these backend endpoints to upload arbitrary file types and then generate a retrieval URL that is accessible to anyone who obtains the link. This allows the attacker to serve malicious content, such as a fake login pages, from the application's trusted domain, which can be used for phishing attacks against users.
The vulnerability has only been confirmed in versions 2.10.0 and 2.12.0 but may also affect other versions.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Vulnerability Type
保护机制失效