| Title | feelec-yishu feelcrm-os 1.0.0 Unrestricted Upload |
|---|
| Description | 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`. |
|---|
| Source | ⚠️ https://github.com/feelec-yishu/feelcrm-os/issues/7 |
|---|
| User | liaoxijun100 (UID 101246) |
|---|
| Submission | 09/15/2026 04:21 (20 days ago) |
|---|
| Moderation | 10/05/2026 12:31 (20 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 413583 [feelec-yishu feelcrm-os 1.0.0 UploadTicketFile Endpoint UploadController.class.php cmd unrestricted upload] |
|---|
| Points | 20 |
|---|