| 标题 | feelec-yishu feelcrm-os 1.0.0 Unrestricted Upload |
|---|
| 描述 | FeelCRM 1.0.0 is affected by an authenticated unrestricted file upload vulnerability in the `/Crm/Upload/UploadTicketFile?type=editor` endpoint. The custom chunked-upload implementation accepts an attacker-controlled filename and preserves dangerous extensions without applying the configured upload allowlist or validating the file content. An authenticated attacker can upload a file named `test.php` with a spoofed `image/jpeg` MIME type and PHP content such as `<?php eval($_GET['cmd']);?>`. The server returns `status:1`, preserves the `php` extension, writes the file under the publicly accessible `/Attachs/Uploads/<date>/` directory, and discloses its URL through the `attach_link` field. Requesting the returned file with `cmd=system('id');` executes the uploaded PHP code and returns `uid=33(www-data) gid=33(www-data) groups=33(www-data)` in the tested deployment, confirming remote code execution as the Web server user. Exploitation requires an authenticated application session and a writable upload directory; remote code execution additionally depends on the Web server processing PHP files under `Attachs`. |
|---|
| 来源 | ⚠️ https://github.com/feelec-yishu/feelcrm-os/issues/7 |
|---|
| 用户 | liaoxijun100 (UID 101246) |
|---|
| 提交 | 2026-09-15 04時21分 (21 日前) |
|---|
| 管理 | 2026-10-05 12時31分 (20 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 413583 [feelec-yishu feelcrm-os 1.0.0 UploadTicketFile Endpoint UploadController.class.php cmd 权限提升] |
|---|
| 积分 | 20 |
|---|