Submit #935193: wuzhicms <=4.1.0 SQL Injectioninfo

Titlewuzhicms <=4.1.0 SQL Injection
DescriptionIn 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).
Source⚠️ https://github.com/wuzhicms/wuzhicms/issues/220
User
 ZAST.AI (UID 87884)
Submission08/18/2026 12:06 (29 days ago)
Moderation09/16/2026 09:21 (29 days later)
StatusDuplicate
VulDB entry250342 [wuzhicms 4.1.0 /core/admin/copyfrom.php keywords sql injection]
Points0

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!