Gửi #984337: girishsaraf Online-Appointment-Booking-System f427b4757128ca253d33d0cc4e87bbb9c999a4d5 SQL Injectionthông tin

tiêu đềgirishsaraf Online-Appointment-Booking-System f427b4757128ca253d33d0cc4e87bbb9c999a4d5 SQL Injection
Mô tảThe affected component is the root `signup.php` registration handler. The `fname` field is concatenated directly into an INSERT statement: ```php $name=$_POST['fname']; $sql = "INSERT INTO Patient (Name, Gender, DOB,Contact,Email,Username,Password) VALUES ('$name','$gender','$dob','$contact','$email','$username','$password') "; ... echo "Error: " . $sql . "<br>" . mysqli_error($conn); ``` An unauthenticated attacker can close the quoted value and inject additional columns, causing error-based disclosure of the full query and `mysqli_error()`. By injecting a subquery into another column position (e.g. `fname=x',(SELECT password FROM patient LIMIT 1),'...')-- -`), the attacker can insert extracted data into the new row and read it back, exfiltrating arbitrary database contents.
Nguồn⚠️ https://github.com/girishsaraf/Online-Appointment-Booking-System/issues/9
Người dùng
 jiqinwang (UID 101291)
Đệ trình16/09/2026 15:48 (cách đây 20 ngày)
Kiểm duyệt05/10/2026 16:58 (19 days later)
Trạng tháiđược chấp nhận
Mục VulDB413617 [girishsaraf Online-Appointment-Booking-System đến f427b4757128ca253d33d0cc4e87bbb9c999a4d5 Registration signup.php fname Tiêm SQL]
điểm20

Want to know what is going to be exploited?

We predict KEV entries!