| 제목 | diem-project diem 116974edfb9a5b8bd69cb13586dc62bcdbb485ad Code Injection |
|---|
| 설명 | The front-end widget editor in `dmFrontPlugin/modules/dmWidget` is accessible to users with the `widget_edit` or `widget_edit_fast` credential. Its media form, `dmFrontPlugin/lib/dmWidget/media/dmWidgetContentBaseMediaForm.php`, validates uploaded files with `sfValidatorFile` without an extension or MIME allowlist and creates a `DmMedia` item in the `widget` folder. `dmCorePlugin/lib/model/doctrine/PluginDmMedia.class.php` retains the submitted extension, saves the file below `sf_upload_dir`, and exposes it through `sf_upload_dir_name`. A content editor can upload `payload.php`, which is served as `/uploads/widget/payload.php`; deployments whose PHP handler executes PHP files in the web-root upload directory are vulnerable to remote code execution as the web-server account. |
|---|
| 원천 | ⚠️ https://github.com/diem-project/diem/issues/448 |
|---|
| 사용자 | milocat (UID 99840) |
|---|
| 제출 | 2026. 07. 17. PM 03:22 (1 월 ago) |
|---|
| 모더레이션 | 2026. 08. 30. PM 06:38 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 397174 [diem-project diem 까지 5.1.3 Widget Editor dmWidgetContentBaseMediaForm.php 권한 상승] |
|---|
| 포인트들 | 20 |
|---|