| Title | Micro-mall vulnerabilities windows 1.0 SQL injection |
|---|
| Description | Find the source code from GitHub and start a source code audit.
SQL injection
The following code as shown in the figure was found in api/data.php.
$search = isset($_GET['search']) ? $_GET['search'] :0;
$sql = "M_id='{$mao['id']}' and name LIKE '%{$search}%'";
The SQL injection was successfully carried out using sqlmap.
|
|---|
| Source | ⚠️ https://www.jianshu.com/p/22d3ae38e628?v=1742101731758 |
|---|
| User | leizi (UID 82832) |
|---|
| Submission | 03/16/2025 06:26 (1 Year ago) |
|---|
| Moderation | 03/29/2025 20:33 (14 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 302004 [Bluestar Micro Mall 1.0 /api/data.php Search sql injection] |
|---|
| Points | 19 |
|---|