| 标题 | subhajitkhan online-clinic-management-system e9ee77a8827a1446220fa07ee693dc4d9a29a578 SQL Injection |
|---|
| 描述 | The 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. |
|---|
| 来源 | ⚠️ https://github.com/subhajitkhan/online-clinic-management-system/issues/2 |
|---|
| 用户 | thexin7 (UID 100377) |
|---|
| 提交 | 2026-08-05 17時45分 (1 月前) |
|---|
| 管理 | 2026-09-13 07時28分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 403234 [subhajitkhan online-clinic-management-system 直到 e9ee77a8827a1446220fa07ee693dc4d9a29a578 listdoctor.php searchtext SQL注入] |
|---|
| 积分 | 20 |
|---|