提出 #95432: ECshop v4.1.8 file upload vulnerability情報

タイトルECshop v4.1.8 file upload vulnerability
説明ECshop v4.1.8 (https://www.ecshop.com/) has a file upload vulnerability,and attacker can upload a .php file then remote execute code to get a shell. Detail can be seen in https://github.com/wjzdalao/ecshop4.1.8/issues/2 And source code can be download at https://www.ecshop.com/download or https://www.ecshopjcw.com/ecshopxiazai.html or my github https://github.com/wjzdalao/ecshop4.1.8 some details : After the construction is completed, we can visit http://domain/admin Use ECshop account to enter the background Enter the necessary name, NO and Shop price under product ->New product and submit it. Add a line under burpsuite -----------------------------424530281912821893691310326676 Content-Disposition: form-data; name="file_url[0]"; filename="shell.php" Content-Type: image/ipeg Then the request package is sent to show that it was added successfully. View the local file and find that the php file was uploaded successfully. And the file upload path is under our control. While 'filename', 'the uploaded year and month' are under our control. The number in front is only the serial number of the product, so you can access the php file by simply cracking the serial number from 1. For example, the file of shell.php uploaded here is located at /uploadfile/202302/137_ 25a452927110e39a345a2511c57647f2.php.And The following content is only the md5 value of shell. php. Finally, we can easily access and execute commands.
ソース⚠️ https://github.com/wjzdalao/ecshop4.1.8/issues/2
ユーザー
 OreoZe (UID 41670)
送信2023年02月27日 17:29 (3 年 ago)
モデレーション2023年03月06日 08:05 (7 days later)
ステータス承諾済み
VulDBエントリ222357 [ECshop 迄 4.1.8 New Product 特権昇格]
ポイント20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!