提交 #908924: aircheng-org iWebShop-5 eb7f7eb1c6ebf39a54f943d8e0aefe96a3b8ff54 Unrestricted Upload信息

标题aircheng-org iWebShop-5 eb7f7eb1c6ebf39a54f943d8e0aefe96a3b8ff54 Unrestricted Upload
描述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).
来源⚠️ https://github.com/aircheng-org/iWebShop-5/issues/3
用户
 yunshen (UID 100191)
提交2026-07-29 19時52分 (1 月前)
管理2026-09-08 11時31分 (1 month later)
状态已接受
VulDB条目399757 [aircheng-org iWebShop-5 直到 5.15 controllers/pic.php upload_json/uploadFile 权限提升]
积分20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!