| 标题 | aircheng-org iWebShop-5 eb7f7eb1c6ebf39a54f943d8e0aefe96a3b8ff54 Missing Authorization |
|---|
| 描述 | The affected component is `controllers/update.php`. Class `Update` extends `IController` without implementing `adminAuthorization`, `sellerAuthorization`, or `userAuthorization`, so the authorization plugin never gates its actions. `Update::index()` executes a hard-coded list of `ALTER TABLE` statements through `IDBFactory::getDB()->query()` and then clears the entire `runtime` directory via `IFile::clearDir()`. A remote unauthenticated attacker can invoke `/index.php?controller=update&action=index` to modify production schema and wipe compiled caches, causing integrity loss, service disruption, and potential follow-on exploitation of a partially upgraded database. |
|---|
| 来源 | ⚠️ https://github.com/aircheng-org/iWebShop-5/issues/2 |
|---|
| 用户 | yunshen (UID 100191) |
|---|
| 提交 | 2026-07-29 19時52分 (1 月前) |
|---|
| 管理 | 2026-09-08 11時30分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 399756 [aircheng-org iWebShop-5 直到 5.15 controllers/update.php Update::index 权限提升] |
|---|
| 积分 | 20 |
|---|