提交 #467124: code-projects online-exam-mastering-system-php 1.0 SQL Injection信息

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

Do you need the next level of professionalism?

Upgrade your account now!