| Title | aircheng-org iWebShop-5 eb7f7eb1c6ebf39a54f943d8e0aefe96a3b8ff54 Unrestricted Upload |
|---|
| Description | The affected component is `controllers/pic.php`. Class `Pic` has no authorization interface, so `upload_json()` and `uploadFile()` are public. `upload_json()` instantiates `IUpload` with the default allow-list (`jpg,gif,png,zip,rar,doc,docx,xls,xlsx,bmp,swf,flv,mp4`) and writes attacker files under `upload/detail/YYYYMMDD/`. Malware hex checks only cover `jpg/gif/png` and the `<?php` detector regex is defective, so short-tag payloads such as `<?=...?>` inside GIF files are accepted. An unauthenticated attacker can plant ZIP, SWF, MP4, and script-bearing image files in the web tree for further attacks (stored content delivery, flash XSS, archive-based payloads). |
|---|
| Source | ⚠️ https://github.com/aircheng-org/iWebShop-5/issues/3 |
|---|
| User | yunshen (UID 100191) |
|---|
| Submission | 07/29/2026 19:52 (1 month ago) |
|---|
| Moderation | 09/08/2026 11:31 (1 month later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 399757 [aircheng-org iWebShop-5 up to 5.15 controllers/pic.php upload_json/uploadFile unrestricted upload] |
|---|
| Points | 20 |
|---|