Soumettre #984336: girishsaraf Online-Appointment-Booking-System f427b4757128ca253d33d0cc4e87bbb9c999a4d5 SQL Injectioninformation

Titregirishsaraf Online-Appointment-Booking-System f427b4757128ca253d33d0cc4e87bbb9c999a4d5 SQL Injection
DescriptionThe affected components are the root `locateus.php` and `ulocateus.php` doctor search endpoints. The `doctorname` POST value is concatenated directly into the LIKE pattern: ```php $doctor=$_POST['doctorname']; $sql1 = "Select * from Doctor where UPPER(name) like UPPER('%".$doctor."%')"; $result1=mysqli_query($conn, $sql1); ``` Because the value sits inside `UPPER('%...%')`, an attacker can inject `x%') OR SLEEP(2) -- -` to break out of the function call and execute arbitrary SQL. This is unauthenticated and enables blind/time-based SQL injection.
La source⚠️ https://github.com/girishsaraf/Online-Appointment-Booking-System/issues/8
Utilisateur
 jiqinwang (UID 101291)
Soumission16/09/2026 15:48 (il y a 20 jours)
Modérer05/10/2026 16:58 (19 days later)
StatutAccepté
Entrée VulDB413616 [girishsaraf Online-Appointment-Booking-System Doctor Search Endpoint locateus.php mysqli_query doctorname injection SQL]
Points20

Do you need the next level of professionalism?

Upgrade your account now!