| عنوان | code-projects Simple Admin Panel In PHP 1.000 SQL Injection |
|---|
| الوصف | The SQL Injection vulnerability exists in file 'updateOrderStatus.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 3005 FROM (SELECT(SLEEP(5)))AwUp)-- AySy", 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 3005 FROM (SELECT(SLEEP(5)))AwUp)-- AySy |
|---|
| المصدر | ⚠️ https://code-projects.org/simple-admin-panel-in-php-with-source-code/ |
|---|
| المستخدم | Fergod (UID 55882) |
|---|
| ارسال | 24/12/2024 12:39 AM (1 سنة منذ) |
|---|
| الاعتدال | 25/12/2024 04:05 PM (2 days later) |
|---|
| الحالة | تمت الموافقة |
|---|
| إدخال VulDB | 289291 [code-projects Simple Admin Panel 1.0 updateOrderStatus.php record حقن SQL] |
|---|
| النقاط | 20 |
|---|