| Title | code-projects Simple Admin Panel in PHP 1 SQL Injection |
|---|
| Description | 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 |
|---|
| Source | ⚠️ https://code-projects.org/simple-admin-panel-in-php-with-source-code/ |
|---|
| User | Fergod (UID 55882) |
|---|
| Submission | 12/23/2024 23:40 (1 Year ago) |
|---|
| Moderation | 12/25/2024 16:04 (2 days later) |
|---|
| Status | Duplicate |
|---|
| VulDB entry | 289286 [code-projects Simple Admin Panel 1.0 updateItemController.php p_name/p_desc cross site scripting] |
|---|
| Points | 0 |
|---|