| 标题 | subhajitkhan online-clinic-management-system e9ee77a8827a1446220fa07ee693dc4d9a29a578 SQL Injection |
|---|
| 描述 | `doctorlogin.php` places the `doc_mail` and `doc_pswd` POST values directly in the authentication statement at lines 5-10. On any one-row result, lines 14-17 persist the untrusted email value in `$_SESSION['docmail']`. `doctorhome.php` uses that session value in another concatenated query at lines 6-8. An attacker can inject a true predicate in `doc_mail`, receive a successful login redirect without the doctor's password, and preserve the injection in the session so the doctor portal loads the victim record. This provides unauthenticated access to doctor functions and associated patient appointment data. |
|---|
| 来源 | ⚠️ https://github.com/subhajitkhan/online-clinic-management-system/issues/3 |
|---|
| 用户 | wer0823 (UID 82272) |
|---|
| 提交 | 2026-08-10 13時29分 (1 月前) |
|---|
| 管理 | 2026-09-13 17時35分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 403307 [subhajitkhan online-clinic-management-system 直到 e9ee77a8827a1446220fa07ee693dc4d9a29a578 doctorlogin.php doc_mail/doc_pswd SQL注入] |
|---|
| 积分 | 20 |
|---|