| 标题 | onetwothreeneth HospitalManagementSystem 9ef91ed6007314b6473110ed699dff76d158f61d SQL Injection |
|---|
| 描述 | Affected: `php/controller.php` lines 388-397. The GET parameter `transaction_idS` is echoed and then concatenated unsanitized into an update statement: `echo $transaction_id = $_GET['transaction_idS']; ... udi("$u transactions set status='0' where transaction_id='$transaction_id'")`. `filters()` (used elsewhere) is not applied to GET input. The file is reachable unauthenticated (no session check; included by `login.php` and every admin page). Exploitation: time-based blind SQL injection (`?transaction_idS=8' AND SLEEP(3)-- -`) confirms the injection in an UPDATE query; `?transaction_idS=999' OR 1=1-- -` archives (sets status='0') **every** transaction in the database. Combined with blind extraction the whole database can be read; mass data tampering/DoS is demonstrated. |
|---|
| 来源 | ⚠️ https://github.com/onetwothreeneth/HospitalManagementSystem/issues/8 |
|---|
| 用户 | Cevz68 (UID 101220) |
|---|
| 提交 | 2026-09-14 16時53分 (22 日前) |
|---|
| 管理 | 2026-10-05 12時15分 (21 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 413577 [onetwothreeneth HospitalManagementSystem 直到 9ef91ed6007314b6473110ed699dff76d158f61d php/controller.php transaction_idS SQL注入] |
|---|
| 积分 | 20 |
|---|