| Title | girishsaraf Online-Appointment-Booking-System f427b4757128ca253d33d0cc4e87bbb9c999a4d5 SQL Injection |
|---|
| Description | The 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) |
|---|
| Submission | 09/16/2026 15:50 (1 month ago) |
|---|
| Moderation | 10/12/2026 21:04 (26 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 417184 [girishsaraf Online-Appointment-Booking-System up to f427b4757128ca253d33d0cc4e87bbb9c999a4d5 changebookingstatus.php dateselected sql injection] |
|---|
| Points | 20 |
|---|