Gửi #1005050: itsmeravitejak Online-Examination-System e6208e630b14657999bbfe4c9912302d2a1e2449 SQL Injectionthông tin

tiêu đềitsmeravitejak Online-Examination-System e6208e630b14657999bbfe4c9912302d2a1e2449 SQL Injection
Mô tảThe affected component is `exammanger.php`, a small AJAX endpoint that loads the topic list for the exam settings form. It includes only `include/database.php` (no session or login check) and passes the POST parameter `subject` straight into `MySQLDB::topicslist()`: ```php $database->topicslist($_POST['subject']); ... $where="where sub_id=".$subid; $res=$this->query("select top_id,top_title from ".TBL_TOPICS." ".$where); ``` The `subject` value is a numeric string concatenated into the query without quotes, escaping or validation, and the endpoint requires no authentication. A UNION-based payload such as `subject=0 UNION SELECT 1,concat(username,0x3a,password,0x3a,userlevel) FROM users` makes the application print the `users` table (username, MD5 password hash, user level) into the returned `<option>` elements, i.e. unauthenticated in-band extraction of arbitrary database content.
Nguồn⚠️ https://github.com/itsmeravitejak/Online-Examination-System/issues/7
Người dùng
 PrivacyFirst (UID 101731)
Đệ trình29/09/2026 13:17 (cách đây 19 ngày)
Kiểm duyệt17/10/2026 11:35 (18 days later)
Trạng tháiđược chấp nhận
Mục VulDB421585 [itsmeravitejak Online-Examination-System đến e6208e630b14657999bbfe4c9912302d2a1e2449 AJAX Endpoint exammanger.php MySQLDB::topicslist subject Tiêm SQL]
điểm20

Do you want to use VulDB in your project?

Use the official API to access entries easily!