Описание
lobe-chat /api/proxy endpoint Server-Side Request Forgery vulnerability
Summary
The latest version of lobe-chat(by now v0.141.2) has an unauthorized ssrf vulnerability. An attacker can construct malicious requests to cause SSRF without logging in, attack intranet services, and leak sensitive information.
Details
- visit https://chat-preview.lobehub.com/settings/agent
- you can attack all internal services by /api/proxy and get the echo in http response :)
PoC
Impact
SSRF ,All users will be impacted.
Пакеты
@lobehub/chat
<= 0.150.5
0.150.6
Связанные уязвимости
Lobe Chat is a chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Prior to 0.150.6, lobe-chat had an unauthorized Server-Side Request Forgery vulnerability in the /api/proxy endpoint. An attacker can construct malicious requests to cause Server-Side Request Forgery without logging in, attack intranet services, and leak sensitive information.