| 제목 | gedelumbung HospitalManagement c2d45543789a3887067d3915f69d44cfc2cf76a8 Unrestricted Upload |
|---|
| 설명 | `asset/ckeditor/kcfinder/config.php` ships with `'disabled' => true` and a denylist that excludes some PHP variants, but `_sessionVar` is bound to `$_SESSION['ADMIN_RS_KCFINDER']`. On every successful login, `application/models/app_user_login_model.php::cekUserLogin()` unconditionally sets `$_SESSION['ADMIN_RS_KCFINDER']['disabled'] = false` and `'uploadURL' => '../../content_upload'`, fully enabling KCFinder for **every** authenticated user — including low-privilege roles. Combined with the permissive `access.files.upload/delete/rename` and `access.dirs.create`, an attacker can upload arbitrary file types not explicitly listed in `deniedExts` (notably `.php5`, `.pht`, `.phar`, `.inc`, `.htaccess`) to a path webroot-reachable from `content_upload/`, granting remote code execution under the web server user. |
|---|
| 원천 | ⚠️ https://github.com/gedelumbung/HospitalManagement/issues/8 |
|---|
| 사용자 | Chenshiyi (UID 100261) |
|---|
| 제출 | 2026. 08. 25. PM 03:30 (1 월 ago) |
|---|
| 모더레이션 | 2026. 09. 29. PM 07:26 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 411501 [gedelumbung HospitalManagement 까지 c2d45543789a3887067d3915f69d44cfc2cf76a8 KCFinder File Manager app_user_login_model.php cekUserLogin ADMIN_RS_KCFINDER 권한 상승] |
|---|
| 포인트들 | 20 |
|---|