Submit #984339: girishsaraf Online-Appointment-Booking-System f427b4757128ca253d33d0cc4e87bbb9c999a4d5 SQL Injectioninfo

Titlegirishsaraf Online-Appointment-Booking-System f427b4757128ca253d33d0cc4e87bbb9c999a4d5 SQL Injection
DescriptionThe affected components are the root `changebookingstatus.php` and `Admin/changebookingstatus.php`. The `dateselected` POST value is concatenated directly into the appointment-selection query: ```php $did=$_POST['doctor']; $cid=1; $sql1 = "select * from book where DOV='". $_POST['dateselected']."' AND DID= $did AND CID= $cid order by Timestamp ASC"; ``` No authentication is enforced. An unauthenticated attacker can inject `x' OR SLEEP(2) -- -` into `dateselected` and observe a measurable delay, confirming blind SQL injection and enabling unauthenticated database access.
Source⚠️ https://github.com/girishsaraf/Online-Appointment-Booking-System/issues/11
User
 jiqinwang (UID 101291)
Submission09/16/2026 15:50 (1 month ago)
Moderation10/12/2026 21:04 (26 days later)
StatusAccepted
VulDB entry417184 [girishsaraf Online-Appointment-Booking-System up to f427b4757128ca253d33d0cc4e87bbb9c999a4d5 changebookingstatus.php dateselected sql injection]
Points20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!