Submit #894804: light0011 cms f72cf46f601efb2a0618c3814cc2f61380b38930 Unrestricted Uploadinfo

Titlelight0011 cms f72cf46f601efb2a0618c3814cc2f61380b38930 Unrestricted Upload
Description`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.
Source⚠️ https://github.com/light0011/cms/issues/9
User
 JiuZer0 (UID 99525)
Submission07/18/2026 07:57 (2 months ago)
Moderation09/06/2026 20:11 (2 months later)
StatusAccepted
VulDB entry399478 [light0011 cms Upload.class.php Upload::upload unrestricted upload]
Points20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!