| Title | onetwothreeneth HospitalManagementSystem 9ef91ed6007314b6473110ed699dff76d158f61d SQL Injection |
|---|
| Description | 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. |
|---|
| Source | ⚠️ https://github.com/onetwothreeneth/HospitalManagementSystem/issues/10 |
|---|
| User | HiiragiHaru (UID 101255) |
|---|
| Submission | 09/15/2026 16:23 (20 days ago) |
|---|
| Moderation | 10/05/2026 12:15 (20 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 413579 [onetwothreeneth HospitalManagementSystem up to 9ef91ed6007314b6473110ed699dff76d158f61d transaction_details.php transaction_id sql injection] |
|---|
| Points | 20 |
|---|