| 标题 | 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) |
|---|
| 提交 | 2024-12-24 00時39分 (2 年前) |
|---|
| 管理 | 2024-12-25 16時05分 (2 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 289291 [code-projects Simple Admin Panel 1.0 updateOrderStatus.php record SQL注入] |
|---|
| 积分 | 20 |
|---|