إرسال #984338: girishsaraf Online-Appointment-Booking-System f427b4757128ca253d33d0cc4e87bbb9c999a4d5 SQL Injectionالمعلومات

عنوانgirishsaraf Online-Appointment-Booking-System f427b4757128ca253d33d0cc4e87bbb9c999a4d5 SQL Injection
الوصفThe affected components are the root `book.php` booking handler and `cancelbookingpatient.php` cancellation handler. In `book.php`, the `Doctor` POST value is concatenated into the availability check and the INSERT: ```php $did=$_POST['Doctor']; $query ="SELECT * FROM doctor_availability WHERE DID = '" .$did. "' AND CID='".$cid."'"; $sql = "INSERT INTO book (...) VALUES (...'$did'...)"; ``` In `cancelbookingpatient.php`, the `appointment` POST value is concatenated into an UPDATE: ```php $timestamp=$_POST['appointment']; $updatequery="update book set Status='Cancelled by Patient' where username='$username' and timestamp= '$timestamp'"; ``` A logged-in patient can inject `1' AND SLEEP(2) -- -` (or `x' OR SLEEP(2) -- -`) to trigger measurable delays, confirming SQL injection in authenticated flows.
المصدر⚠️ https://github.com/girishsaraf/Online-Appointment-Booking-System/issues/10
المستخدم
 jiqinwang (UID 101291)
ارسال16/09/2026 03:49 PM (20 أيام منذ)
الاعتدال05/10/2026 04:58 PM (19 days later)
الحالةتمت الموافقة
إدخال VulDB413618 [girishsaraf Online-Appointment-Booking-System حتى f427b4757128ca253d33d0cc4e87bbb9c999a4d5 Booking book.php Doctor/appointment حقن SQL]
النقاط20

Do you need the next level of professionalism?

Upgrade your account now!