| 标题 | zsadmin ZS-Admin <=1.0.0 Unrestricted Upload |
|---|
| 描述 | The ZS-Admin file upload module accepts files through MultipartFile. The server extracts the extension from the original filename and generates a new filename in the format UUID + original extension. No extension whitelist, MIME type whitelist, or magic-byte validation was found in this flow.
As a result, an attacker can upload files with arbitrary extensions such as .svg, .html, or .jsp. JSP execution was not confirmed in the tested environment, so this issue should not be described as remote code execution. However, if the uploaded directory allows inline rendering of SVG or HTML, the issue may lead to stored cross-site scripting. |
|---|
| 来源 | ⚠️ https://github.com/zsadmin2025/zs-admin-java/issues/6 |
|---|
| 用户 | cl0ney (UID 99026) |
|---|
| 提交 | 2026-06-15 17時51分 (1 月前) |
|---|
| 管理 | 2026-07-21 10時55分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 380830 [zsadmin2025 ZS-Admin 直到 b52e14536d59fda11e56e2536a1c32e82a38cead com.zs.file.controller.SysFileController /api/system/file/upload 文件 权限提升] |
|---|
| 积分 | 20 |
|---|