| タイトル | onetwothreeneth HospitalManagementSystem 9ef91ed6007314b6473110ed699dff76d158f61d SQL Injection |
|---|
| 説明 | Affected: `transaction_details.php` lines 15-23, 103-105, 171-176. `$_GET['transaction_id']` is concatenated unsanitized into many SQL queries (`get("patient_id","$s transactions where transaction_id='$transaction_id'")`, two JOIN queries for orders/discounts, two aggregate queries, plus `udi("$u transactions set total='$dis_c' where transaction_id='$transaction_id'")` at line 176). It is reachable unauthenticated. Exploitation: time-based blind payload `8' AND SLEEP(2)-- -` multiplies ~17x per page request (51s observed); an `OR 1=1` payload reaches both the SELECTs and the unconditional UPDATE on line 176, tampering every transaction total. Full database readout (including plaintext credentials) is possible via blind/boolean probes. |
|---|
| ソース | ⚠️ https://github.com/onetwothreeneth/HospitalManagementSystem/issues/10 |
|---|
| ユーザー | HiiragiHaru (UID 101255) |
|---|
| 送信 | 2026年09月15日 16:23 (20 日 ago) |
|---|
| モデレーション | 2026年10月05日 12:15 (20 days later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 413579 [onetwothreeneth HospitalManagementSystem 迄 9ef91ed6007314b6473110ed699dff76d158f61d transaction_details.php transaction_id SQLインジェクション] |
|---|
| ポイント | 20 |
|---|