提交 #935193: wuzhicms <=4.1.0 SQL Injection信息

标题wuzhicms <=4.1.0 SQL Injection
描述In the admin-panel "content source" (copyfrom) management feature copyfrom::listing(), the keywords parameter is injected into $GLOBALS['keywords'] via the framework's set_globals() variable-overwrite mechanism, and is concatenated directly into the string literal `name` LIKE '%$keywords%' without passing through sql_replace() or any other filtering, before being passed to get_list(). The database abstraction layer's array2sql() strips only the %20/%27 encoded forms from a string-typed $where clause and does nothing to raw single-quote characters ', allowing an attacker to close the LIKE literal directly with a single quote and append arbitrary SQL. This controller, copyfrom, defines its own custom constructor and never calls the parent's parent::__construct(); authentication is instead enforced by WUZHI_admin::logs() at method-invocation time (super-admin accounts, flagged with ,1, in their role string, are allowed through).
来源⚠️ https://github.com/wuzhicms/wuzhicms/issues/220
用户
 ZAST.AI (UID 87884)
提交2026-08-18 12時06分 (30 日前)
管理2026-09-16 09時21分 (29 days later)
状态重复
VulDB条目250342 [wuzhicms 4.1.0 /core/admin/copyfrom.php keywords SQL注入]
积分0

Interested in the pricing of exploits?

See the underground prices here!