[Security]: code injection in add_llm
which can lead to full control of the online RAGflow server
#1860
Closed
1 task done
Labels
bug
Something isn't working
Is there an existing issue for the same bug?
Branch name
main
Commit ID
main
Other environment information
No response
Actual behavior
Code injection which can lead to RCE in
add_llm
and attacker can compromise the online RAGflow server.ragflow/api/apps/llm_app.py
Line 116 in 06dfb83
Use unsafe eval which can cause RCE and get full control of the RAGflow server.
Expected behavior
No code executed.
Steps to reproduce
Additional information
Add
VolcEngine
model:Code injection, my VPS received the request from the server, if the attacker want, it can reverse a shell to its VPS and gain full control of the server:
The text was updated successfully, but these errors were encountered: