| عنوان | WMS has a file upload code execution vulnerability |
|---|
| الوصف | In the process of uploading images, the front end directly transfers the uploaded images to the back end $upfile without filtering, and the back end does not detect the suffixes of the uploaded files. The strtolower() function names the uploaded files in lowercase and assigns values to the variable $exname. $exname then renames the uploaded files and stores them in the directory upimages and grants directory permissions. The naming rules for uploaded files are 1. jpg, 2. jpg, and so on, So the php file we uploaded is renamed as 1. php. At this time, we can execute any code |
|---|
| المصدر | ⚠️ https://github.com/FeMiner/wms/issues/14 |
|---|
| المستخدم | ace. (UID 34853) |
|---|
| ارسال | 29/11/2022 03:59 PM (4 سنوات منذ) |
|---|
| الاعتدال | 03/12/2022 08:37 AM (4 days later) |
|---|
| الحالة | تمت الموافقة |
|---|
| إدخال VulDB | 214760 [FeMiner wms savenewproduct.php?flag=1 upfile تجاوز الصلاحيات] |
|---|
| النقاط | 20 |
|---|