| 제목 | 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) |
|---|
| 제출 | 2024. 12. 24. AM 12:13 (1 년도 ago) |
|---|
| 모더레이션 | 2024. 12. 25. PM 04:04 (2 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 289288 [code-projects Simple Admin Panel 1.0 editItemForm.php record SQL 주입] |
|---|
| 포인트들 | 20 |
|---|