| Título | code-projects Simple Admin Panel In PHP 1.000 SQL Injection |
|---|
| Descrição | The SQL Injection vulnerability exists in file 'updateOrderStatus.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 3005 FROM (SELECT(SLEEP(5)))AwUp)-- AySy", 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 3005 FROM (SELECT(SLEEP(5)))AwUp)-- AySy |
|---|
| Fonte | ⚠️ https://code-projects.org/simple-admin-panel-in-php-with-source-code/ |
|---|
| Utilizador | Fergod (UID 55882) |
|---|
| Submissão | 24/12/2024 00h39 (há 1 Ano) |
|---|
| Moderação | 25/12/2024 16h05 (2 days later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 289291 [code-projects Simple Admin Panel 1.0 updateOrderStatus.php record Injeção SQL] |
|---|
| Pontos | 20 |
|---|