| タイトル | 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 (29 日 ago) |
|---|
| モデレーション | 2026年09月16日 09:21 (29 days later) |
|---|
| ステータス | 重複 |
|---|
| VulDBエントリ | 250342 [wuzhicms 4.1.0 /core/admin/copyfrom.php keywords SQLインジェクション] |
|---|
| ポイント | 0 |
|---|