提交 #894804: light0011 cms f72cf46f601efb2a0618c3814cc2f61380b38930 Unrestricted Upload信息

标题light0011 cms f72cf46f601efb2a0618c3814cc2f61380b38930 Unrestricted Upload
描述`App/Home/Controller/UserController.class.php:60-74`, `App/Admin/Controller/ChapterController.class.php:57-70`, and `App/Admin/Controller/AdController.class.php:43-56` instantiate `Think\Upload`, set only `rootPath`, and call `upload()`. `ThinkPHP/Library/Think/Upload.class.php:17-31` defaults `mimes` and `exts` to empty arrays and `maxSize` to zero; its checks at lines 285-305 and 342-360 consequently permit every extension, MIME type, and size. The Home endpoint is public, and the two Admin endpoints are also unauthenticated because their controllers omit `AuthController`. The committed SAE driver configuration makes arbitrary object upload the confirmed impact. In a Local-driver deployment where `./image/` is web-served and PHP-executable, the same flaw additionally permits remote PHP code execution; that conditional behavior was reproduced in the isolated test deployment.
来源⚠️ https://github.com/light0011/cms/issues/9
用户
 JiuZer0 (UID 99525)
提交2026-07-18 07時57分 (2 月前)
管理2026-09-06 20時11分 (2 months later)
状态已接受
VulDB条目399478 [light0011 cms Upload.class.php Upload::upload 权限提升]
积分20

Do you need the next level of professionalism?

Upgrade your account now!