| Titre | 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.
|
|---|
| La source | ⚠️ https://www.jianshu.com/p/22d3ae38e628?v=1742101731758 |
|---|
| Utilisateur | leizi (UID 82832) |
|---|
| Soumission | 16/03/2025 06:26 (il y a 1 Année) |
|---|
| Modérer | 29/03/2025 20:33 (14 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 302004 [Bluestar Micro Mall 1.0 /api/data.php Recherche injection SQL] |
|---|
| Points | 19 |
|---|