| 标题 | code-projects online-exam-mastering-system-php 1.0 SQL Injection |
|---|
| 描述 | In update.php.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. |
|---|
| 来源 | ⚠️ https://hackmd.io/@salt9487/B1gWdeXrkx |
|---|
| 用户 | salt9487 (UID 78778) |
|---|
| 提交 | 2024-12-20 15時44分 (1 年前) |
|---|
| 管理 | 2024-12-21 10時00分 (18 hours later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 289151 [code-projects Online Exam Mastering System 1.0 update.php?q=quiz&step=2 eid SQL注入] |
|---|
| 积分 | 20 |
|---|