| 标题 | code-projects Simple Admin Panel in PHP 1 SQL Injection |
|---|
| 描述 | The SQL Injection vulnerability exists in file 'updateItemController.php' because the 'p_name' parameter is directly inserted into the SQL queries without any validation or sanitization. If an attacker inputs malicious SQL code as the 'p_name' parameter, it will be executed by the database. For example, if the 'p_name' parameter is set to "aaa"||(SELECT 0x48596768 WHERE 1939=1939 AND 4701=4701)||", it could manipulate the query to return or modify unintended data. Always use prepared statements or parameterized queries to prevent this.
payload:
V Neck Crop Top' RLIKE (SELECT (CASE WHEN (7899=7899) THEN 0x546f70 ELSE 0x28 END)) AND 'raMx'='raMx |
|---|
| 来源 | ⚠️ https://code-projects.org/simple-admin-panel-in-php-with-source-code/ |
|---|
| 用户 | Fergod (UID 55882) |
|---|
| 提交 | 2024-12-23 23時40分 (1 年前) |
|---|
| 管理 | 2024-12-25 16時04分 (2 days later) |
|---|
| 状态 | 重复 |
|---|
| VulDB条目 | 289286 [code-projects Simple Admin Panel 1.0 updateItemController.php p_name/p_desc 跨网站脚本] |
|---|
| 积分 | 0 |
|---|