Submit #468129: code-projects Simple Admin Panel In PHP 1.00 SQL Injectioninfo

Titlecode-projects Simple Admin Panel In PHP 1.00 SQL Injection
DescriptionThe 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
Source⚠️ https://code-projects.org/simple-admin-panel-in-php-with-source-code/
User
 Fergod (UID 55882)
Submission12/24/2024 00:13 (1 Year ago)
Moderation12/25/2024 16:04 (2 days later)
StatusAccepted
VulDB entry289288 [code-projects Simple Admin Panel 1.0 editItemForm.php record sql injection]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!