| Titre | code-projects online-exam-mastering-system-php 1.0 SQL Injection |
|---|
| Description | The SQL Injection vulnerability here exists because the value of `$_GET['eid']` is directly embedded into the SQL queries without any validation or sanitization. If an attacker inputs malicious SQL code as the `eid` parameter, it will be executed by the database. For example, if `eid` is set to `'1' OR '1'='1'`, it could manipulate the query to return or modify unintended data. Always use **prepared statements** or **parameterized queries** to prevent this. |
|---|
| La source | ⚠️ https://hackmd.io/@salt9487/BkeSOxQSye |
|---|
| Utilisateur | salt9487 (UID 78778) |
|---|
| Soumission | 20/12/2024 15:46 (il y a 1 Année) |
|---|
| Modérer | 21/12/2024 10:00 (18 hours later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 289152 [code-projects Online Exam Mastering System 1.0 account.php?q=quiz&step=2 eid injection SQL] |
|---|
| Points | 20 |
|---|