| عنوان | gedelumbung HospitalManagement c2d45543789a3887067d3915f69d44cfc2cf76a8 Improper Authentication |
|---|
| الوصف | The global password-change and profile-update endpoints in `application/modules/global/controllers/password.php::simpan()` and `application/modules/global/controllers/profil.php::simpan()` derive the target `WHERE` clause from `$_POST['kode_user']` and `$_POST['username']` instead of the authenticated session identifier. Any logged-in user (regardless of role) can therefore submit another user's `kode_user` / `username` and overwrite that user's password hash (`md5($_POST['new'].$GLOBALS['key_login'])`) or display name (`nama_user`). The lack of comparison against `$this->session->userdata('kode_user')` / `username` makes the endpoints a textbook horizontal privilege-escalation primitive that escalates to full account takeover (combined with knowledge of the username). |
|---|
| المصدر | ⚠️ https://github.com/gedelumbung/HospitalManagement/issues/7 |
|---|
| المستخدم | m1rr0r199411 (UID 100741) |
|---|
| ارسال | 22/08/2026 12:22 PM (27 أيام منذ) |
|---|
| الاعتدال | 18/09/2026 10:51 AM (27 days later) |
|---|
| الحالة | تمت الموافقة |
|---|
| إدخال VulDB | 407445 [gedelumbung HospitalManagement حتى c2d45543789a3887067d3915f69d44cfc2cf76a8 Password Change password.php simpan kode_user/username توثيق ضعيف] |
|---|
| النقاط | 20 |
|---|