| Titel | girishsaraf Online-Appointment-Booking-System f427b4757128ca253d33d0cc4e87bbb9c999a4d5 SQL Injection |
|---|
| Beschreibung | 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.
|
|---|
| Quelle | ⚠️ https://github.com/girishsaraf/Online-Appointment-Booking-System/issues/11 |
|---|
| Benutzer | jiqinwang (UID 101291) |
|---|
| Einreichung | 16.09.2026 15:50 (vor 1 Monat) |
|---|
| Moderieren | 12.10.2026 21:04 (26 days later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 417184 [girishsaraf Online-Appointment-Booking-System bis f427b4757128ca253d33d0cc4e87bbb9c999a4d5 changebookingstatus.php dateselected SQL Injection] |
|---|
| Punkte | 20 |
|---|