| 제목 | 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. PM 04:53 (22 날 ago) |
|---|
| 모더레이션 | 2026. 10. 05. PM 12:15 (21 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 413577 [onetwothreeneth HospitalManagementSystem 까지 9ef91ed6007314b6473110ed699dff76d158f61d php/controller.php transaction_idS SQL 주입] |
|---|
| 포인트들 | 20 |
|---|