| शीर्षक | gedelumbung HospitalManagement c2d45543789a3887067d3915f69d44cfc2cf76a8 Path Traversal |
|---|
| विवरण | `application/modules/admin/controllers/data_galeri.php::hapus($id_param,$gbr)` accepts `$gbr` directly from the URL (`admin/data_galeri/hapus/<id>/<gbr>`) and concatenates it into `unlink("./asset/galeri/".$gbr."")` with no path canonicalisation, no `basename()` call, and no allow-list of directory prefixes. An authenticated admin (or any user that has reached the admin session through CVE-09) can supply `../../application/config/database.php` as `$gbr`, causing the application to delete arbitrary files the web user has permission to remove — including the database config, KCFinder config, and any session/config files. The same `unlink("./asset/galeri/".$this->input->post("gambar")."")` call exists in `ubah()` (line 215), reachable via POST. |
|---|
| स्रोत | ⚠️ https://github.com/gedelumbung/HospitalManagement/issues/9 |
|---|
| उपयोगकर्ता | Chenshiyi (UID 100261) |
|---|
| सबमिशन | 25/08/2026 03:31 PM (1 महीना पहले) |
|---|
| संयम | 29/09/2026 07:26 PM (1 month later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 411502 [gedelumbung HospitalManagement तक c2d45543789a3887067d3915f69d44cfc2cf76a8 Endpoint data_galeri.php hapus gbr निर्देशिका ट्रैवर्सल] |
|---|
| अंक | 20 |
|---|