| 제목 | 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. PM 12:06 (1 월 ago) |
|---|
| 모더레이션 | 2026. 09. 16. AM 09:21 (29 days later) |
|---|
| 상태 | 중복 |
|---|
| VulDB 항목 | 250342 [wuzhicms 4.1.0 /core/admin/copyfrom.php keywords SQL 주입] |
|---|
| 포인트들 | 0 |
|---|