Gửi #467123: code-projects online-exam-mastering-system-php 1.0 SQL Injectionthông tin

tiêu đềcode-projects online-exam-mastering-system-php 1.0 SQL Injection
Mô tả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.
Nguồn⚠️ https://hackmd.io/@salt9487/B1gWdeXrkx
Người dùng
 salt9487 (UID 78778)
Đệ trình20/12/2024 15:44 (cách đây 1 Năm)
Kiểm duyệt21/12/2024 10:00 (18 hours later)
Trạng tháiđược chấp nhận
Mục VulDB289151 [code-projects Online Exam Mastering System 1.0 update.php?q=quiz&step=2 eid Tiêm SQL]
điểm20

Do you want to use VulDB in your project?

Use the official API to access entries easily!