| Title | onetwothreeneth HospitalManagementSystem 9ef91ed6007314b6473110ed699dff76d158f61d SQL Injection |
|---|
| Description | Affected: `edit_accounts.php` (line 12 and following), `edit_patient.php`, `edit_physicians.php`, `edit_discounts.php`, `edit_services.php` - the `GET` id parameters `user_id`, `patient_id`, `physician_id`, `discounts_id`, `services_id` are each concatenated raw into the `get("col","$s tablename $w idcol='$_GET[id]'")` calls that prefill the edit forms. Reachable unauthenticated. Exploitation: time-based payload `<id>' AND SLEEP(1)-- -` delays every page by the number of queries per page (4s/7s/3s/2s/6s measured), proving a blind SQL injection on each of the five endpoints. Data of any table (including the plaintext `users` table) can be extracted blind. |
|---|
| Source | ⚠️ https://github.com/onetwothreeneth/HospitalManagementSystem/issues/4 |
|---|
| User | David_ (UID 101036) |
|---|
| Submission | 09/06/2026 16:30 (26 days ago) |
|---|
| Moderation | 10/02/2026 05:45 (26 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 412916 [onetwothreeneth HospitalManagementSystem up to 9ef91ed6007314b6473110ed699dff76d158f61d edit_accounts.php get sql injection] |
|---|
| Points | 20 |
|---|