| Titel | code-projects Simple Admin Panel in PHP 1 SQL Injection |
|---|
| Beschreibung | 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 |
|---|
| Quelle | ⚠️ https://code-projects.org/simple-admin-panel-in-php-with-source-code/ |
|---|
| Benutzer | Fergod (UID 55882) |
|---|
| Einreichung | 23.12.2024 23:40 (vor 1 Jahr) |
|---|
| Moderieren | 25.12.2024 16:04 (2 days later) |
|---|
| Status | Duplikat |
|---|
| VulDB Eintrag | 289286 [code-projects Simple Admin Panel 1.0 updateItemController.php p_name/p_desc Cross Site Scripting] |
|---|
| Punkte | 0 |
|---|