漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
SQLBot prompt injection allows arbitrary SQL execution and remote code execution
Vulnerability Description
SQLBot is an intelligent Text-to-SQL system based on large language models and RAG. In versions 1.7.0 and earlier, the Text2SQL chat interface is vulnerable to prompt injection. The user-provided question parameter is directly concatenated into the LLM prompt without filtering or escaping, and the SQL extracted from the LLM response is executed against the database without validation or sanitization. An authenticated attacker can craft a malicious question to manipulate the LLM into generating and executing arbitrary SQL statements. When connected to a PostgreSQL data source, this can lead to remote code execution via COPY FROM PROGRAM. This issue has been fixed in version 1.7.1.
CVSS Information
N/A
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Vulnerability Title
SQLBot SQL注入漏洞
Vulnerability Description
SQLBot是DataEase开源的一个基于大模型和RAG的智能问数系统。 SQLBot 1.7.0及之前版本存在SQL注入漏洞,该漏洞源于Text2SQL聊天界面中用户提供的question参数直接拼接至LLM提示且未过滤,可能导致经过身份验证的攻击者操纵LLM生成并执行任意SQL语句。
CVSS Information
N/A
Vulnerability Type
N/A