| शीर्षक | The simple and beautiful PHP shopping cart system has a file upload vulnerability. |
|---|
| विवरण | 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 |
|---|
| स्रोत | ⚠️ https://www.sourcecodester.com/php/12579/simple-and-nice-shopping-cart-script.html |
|---|
| उपयोगकर्ता | qidian (UID 30810) |
|---|
| सबमिशन | 19/08/2022 02:58 PM (4 साल पहले) |
|---|
| संयम | 19/08/2022 09:42 PM (7 hours later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 206845 [SourceCodester Simple and Nice Shopping Cart Script /mkshop/Men/profile.php अधिकार वृद्धि] |
|---|
| अंक | 20 |
|---|