漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Emlog: Missing CSRF protection in AI Assistant execute_tool leads to full database compromise and admin account takeover
Vulnerability Description
Emlog is an open source website building system. In 2.6.26 and earlier, missing CSRF protection on the AI Assistant execute_tool action in admin/ai.php lets a remote unauthenticated attacker submit a forged cross-site request from an attacker-controlled page to a recently logged-in administrator. The authentication cookie set in include/lib/loginauth.php has no explicit SameSite attribute, enabling Chrome's temporary Lax+POST grace window. The query_database case passes attacker-controlled sql and confirm_code values to Ai::queryDatabase in include/service/ai.php; read queries need no confirmation, write queries accept the public confirm string, only the blog table is write-protected, and aliasing password as pwd_hash bypasses output redaction. A successful request can read every database table and write every table except blog, including changing the user table to take over an administrator account. No fixed version is available as of this review.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Vulnerability Type
跨站请求伪造(CSRF)
Vulnerability Title
emlog 跨站请求伪造漏洞
Vulnerability Description
emlog是emlog团队开源的一款轻量级博客内容管理系统。 emlog 2.6.26及之前版本存在安全漏洞,该漏洞源于AI Assistant execute_tool操作缺少CSRF保护,可能导致远程未经身份验证的攻击者提交伪造的跨站请求,从而读取所有数据库表并写入除blog外的所有表,甚至修改用户表接管管理员账户。
CVSS Information
N/A
Vulnerability Type
N/A