Soumettre #946242: gedelumbung HospitalManagement c2d45543789a3887067d3915f69d44cfc2cf76a8 Improper Authorizationinformation

Titregedelumbung HospitalManagement c2d45543789a3887067d3915f69d44cfc2cf76a8 Improper Authorization
Description`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.
La source⚠️ https://github.com/gedelumbung/HospitalManagement/issues/12
Utilisateur
 Chenshiyi (UID 100261)
Soumission25/08/2026 15:33 (il y a 1 mois)
Modérer29/09/2026 19:26 (1 month later)
StatutAccepté
Entrée VulDB411505 [gedelumbung HospitalManagement Configuration sistem.php sistem.php::simpan tipe/title/content_setting élévation de privilèges]
Points20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!