Gửi #894026: diem-project diem 116974edfb9a5b8bd69cb13586dc62bcdbb485ad Code Injectionthông tin

tiêu đềdiem-project diem 116974edfb9a5b8bd69cb13586dc62bcdbb485ad Code Injection
Mô tả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.
Nguồn⚠️ https://github.com/diem-project/diem/issues/448
Người dùng
 milocat (UID 99840)
Đệ trình17/07/2026 15:22 (cách đây 1 tháng)
Kiểm duyệt30/08/2026 18:38 (1 month later)
Trạng tháiđược chấp nhận
Mục VulDB397174 [diem-project diem đến 5.1.3 Widget Editor dmWidgetContentBaseMediaForm.php nâng cao đặc quyền]
điểm20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!