Submit #916306: subhajitkhan online-clinic-management-system e9ee77a8827a1446220fa07ee693dc4d9a29a578 SQL Injectioninfo

Titlesubhajitkhan online-clinic-management-system e9ee77a8827a1446220fa07ee693dc4d9a29a578 SQL Injection
DescriptionThe public `listdoctor.php` endpoint accepts `searchtext` and interpolates it into three predicates at lines 7-11: `SELECT * FROM doc_registration where doc_name='$ami' or doc_dept='$ami' or doc_qualification='$ami'`. The result set is rendered without a privilege check at lines 178-188. An unauthenticated attacker can close the predicate and supply a UNION query to disclose arbitrary rows accessible to the application's database account. A verified UNION payload returned the seeded administrator name, email address, and cleartext password, enabling credential theft and wider database disclosure.
Source⚠️ https://github.com/subhajitkhan/online-clinic-management-system/issues/2
User
 thexin7 (UID 100377)
Submission08/05/2026 17:45 (1 month ago)
Moderation09/13/2026 07:28 (1 month later)
StatusAccepted
VulDB entry403234 [subhajitkhan online-clinic-management-system up to e9ee77a8827a1446220fa07ee693dc4d9a29a578 listdoctor.php searchtext sql injection]
Points20

Do you know our Splunk app?

Download it now for free!