Gửi #50192: RCE in easyiithông tin

tiêu đềRCE in easyii
Mô tảinsecure file upload lead to rce in admin file upload management within below file https://github.com/noumo/easyii/blob/ef522fc952675e910e8dd7ed83af29da1381c830/helpers/Upload.php Code block: public static function file(UploadedFile $fileInstance, $dir = '', $namePostfix = true) { $fileName = Upload::getUploadPath($dir) . DIRECTORY_SEPARATOR . Upload::getFileName($fileInstance, $namePostfix); if(!$fileInstance->saveAs($fileName)){ throw new HttpException(500, 'Cannot upload file "'.$fileName.'". Please check write permissions.'); } return Upload::getLink($fileName); } 1. login to easyii 2. goto to file upload management 3. direct uplaod a php webshell like c99
Người dùng
 rezaduty (UID 10530)
Đệ trình31/10/2022 10:19 (cách đây 4 những năm)
Kiểm duyệt31/10/2022 14:30 (4 hours later)
Trạng tháiđược chấp nhận
Mục VulDB212501 [easyii CMS File Upload Management helpers/Upload.php file nâng cao đặc quyền]
điểm13

Do you know our Splunk app?

Download it now for free!