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

عنوانgirishsaraf Online-Appointment-Booking-System f427b4757128ca253d33d0cc4e87bbb9c999a4d5 SQL Injection
الوصفThe affected components are the admin CRUD endpoints, including `Admin/deleteclinic.php` and `Admin/deletedoctor.php`. They concatenate POST parameters into DELETE statements without authentication: ```php // Admin/deleteclinic.php $cid=$_POST['cid']; $sql = "DELETE FROM clinic WHERE CID= $cid "; // Admin/deletedoctor.php $did=$_POST['did']; $sql = "DELETE FROM doctor WHERE DID= $did "; $sqlda = "DELETE FROM doctor_availability WHERE DID= $did "; ``` An unauthenticated attacker can inject `999 OR SLEEP(2)` and observe delays (e.g. `2.006s` and `12.025s`), confirming SQL injection. More damagingly, the same flaw allows arbitrary DELETE statements to erase clinic/doctor data.
المصدر⚠️ https://github.com/girishsaraf/Online-Appointment-Booking-System/issues/12
المستخدم
 sujingyu (UID 101294)
ارسال16/09/2026 03:51 PM (1 شهر منذ)
الاعتدال12/10/2026 09:04 PM (26 days later)
الحالةتمت الموافقة
إدخال VulDB417186 [girishsaraf Online-Appointment-Booking-System حتى f427b4757128ca253d33d0cc4e87bbb9c999a4d5 Admin CRUD Endpoint Admin/deleteclinic.php cid/did حقن SQL]
النقاط20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!