| tiêu đề | The simple and beautiful PHP shopping cart system has a file upload vulnerability. |
|---|
| Mô tả | The simple and beautiful PHP shopping cart system has a file upload vulnerability.
Vulnerability file location: / mkshop / Men / profile.php
look at this source code
```
$upload_ dir = 'profile/';
$imgExt = strtolower(pathinfo($imgFile,PATHINFO_EXTENSION));
$valid_ extensions = array('jpeg', 'jpg', 'png', 'gif');
```
Here, users are allowed to upload other files, such as PHP files, and can construct webshell to upload to the website, maliciously attack the website, and get the permission of the website.
https://s1.ax1x.com/2022/08/14/vUSyHH.png
Source link
https://www.sourcecodester.com/php/12579/simple-and-nice-shopping-cart-script.html |
|---|
| Nguồn | ⚠️ https://www.sourcecodester.com/php/12579/simple-and-nice-shopping-cart-script.html |
|---|
| Người dùng | qidian (UID 30810) |
|---|
| Đệ trình | 19/08/2022 14:58 (cách đây 4 những năm) |
|---|
| Kiểm duyệt | 19/08/2022 21:42 (7 hours later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 206845 [SourceCodester Simple and Nice Shopping Cart Script /mkshop/Men/profile.php nâng cao đặc quyền] |
|---|
| điểm | 20 |
|---|