漏洞信息
Shenlong is analyzing...
对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
HortusFox: Identifier-position SQL Injection in HortusFox AdminController allows persistent passwordless admin access
Vulnerability Description
HortusFox is a self-hosted web application for collaborative plant management. Prior to 6.2, the toggle_boolean_value() handler in app/controller/admin.php passes the name parameter of the /admin/environment/boolean/toggle route in app/config/routes.php to AppModel::updateSingle() in app/models/AppModel.php, which concatenates the parameter into the SQL UPDATE identifier position without validation. An unauthenticated attacker can induce a signed-in administrator to open a crafted link, causing SQL injection that permits expressions and subqueries to read database contents, including an administrator password hash, or modify settings to enable passwordless administrator access. The hash alone does not permit direct login. This issue is fixed in version 6.2.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)