| 제목 | girishsaraf Online-Appointment-Booking-System f427b4757128ca253d33d0cc4e87bbb9c999a4d5 SQL Injection |
|---|
| 설명 | 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.
|
|---|
| 원천 | ⚠️ https://github.com/girishsaraf/Online-Appointment-Booking-System/issues/11 |
|---|
| 사용자 | jiqinwang (UID 101291) |
|---|
| 제출 | 2026. 09. 16. PM 03:50 (1 월 ago) |
|---|
| 모더레이션 | 2026. 10. 12. PM 09:04 (26 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 417184 [girishsaraf Online-Appointment-Booking-System 까지 f427b4757128ca253d33d0cc4e87bbb9c999a4d5 changebookingstatus.php dateselected SQL 주입] |
|---|
| 포인트들 | 20 |
|---|