Submit #977737: onetwothreeneth HospitalManagementSystem 9ef91ed6007314b6473110ed699dff76d158f61d SQL Injectioninfo

Titleonetwothreeneth HospitalManagementSystem 9ef91ed6007314b6473110ed699dff76d158f61d SQL Injection
DescriptionAffected: `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.
Source⚠️ https://github.com/onetwothreeneth/HospitalManagementSystem/issues/8
User
 Cevz68 (UID 101220)
Submission09/14/2026 16:53 (21 days ago)
Moderation10/05/2026 12:15 (21 days later)
StatusAccepted
VulDB entry413577 [onetwothreeneth HospitalManagementSystem up to 9ef91ed6007314b6473110ed699dff76d158f61d php/controller.php transaction_idS sql injection]
Points20

Do you know our Splunk app?

Download it now for free!