提交 #468129: code-projects Simple Admin Panel In PHP 1.00 SQL Injection信息

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

Want to stay up to date on a daily basis?

Enable the mail alert feature now!