提交 #946242: gedelumbung HospitalManagement c2d45543789a3887067d3915f69d44cfc2cf76a8 Improper Authorization信息

标题gedelumbung HospitalManagement c2d45543789a3887067d3915f69d44cfc2cf76a8 Improper Authorization
描述`application/modules/admin/controllers/sistem.php::simpan()` accepts POSTed `tipe`, `title`, and `content_setting` and writes them directly into the `dlmbg_setting` table. The bootstrap (`application/models/app_load_config_model.php::__construct`) then iterates every row and assigns `$GLOBALS[$d->tipe] = $d->content_setting`. Because `tipe` is freely editable (no allow-list, no `tipe` foreign key), any admin can overwrite `$GLOBALS['key_login']` to a value of their choosing — instantly invalidating every user's stored password hash and forcing a re-issue under the new salt. The same mechanism permits rewriting `$GLOBALS['base_url']` / `site_url`, enabling phishing pivots (CVE-07 chains). Combined with CVE-09 (horizontal privilege escalation to admin) the impact is total control over authentication.
来源⚠️ https://github.com/gedelumbung/HospitalManagement/issues/12
用户
 Chenshiyi (UID 100261)
提交2026-08-25 15時33分 (1 月前)
管理2026-09-29 19時26分 (1 month later)
状态已接受
VulDB条目411505 [gedelumbung HospitalManagement 直到 c2d45543789a3887067d3915f69d44cfc2cf76a8 Configuration sistem.php sistem.php::simpan tipe/title/content_setting 权限提升]
积分20

Might our Artificial Intelligence support you?

Check our Alexa App!