| Название | code-projects Simple Admin Panel In PHP 1.000 SQL Injection |
|---|
| Описание | 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 |
|---|
| Источник | ⚠️ https://code-projects.org/simple-admin-panel-in-php-with-source-code/ |
|---|
| Пользователь | Fergod (UID 55882) |
|---|
| Представление | 24.12.2024 00:39 (2 лет назад) |
|---|
| Модерация | 25.12.2024 16:05 (2 days later) |
|---|
| Статус | принято |
|---|
| Запись VulDB | 289291 [code-projects Simple Admin Panel 1.0 updateOrderStatus.php record SQL-инъекция] |
|---|
| Баллы | 20 |
|---|