| Название | 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) |
|---|
| Представление | 15.06.2026 17:51 (1 месяц назад) |
|---|
| Модерация | 21.07.2026 10:55 (1 month later) |
|---|
| Статус | принято |
|---|
| Запись VulDB | 380830 [zsadmin2025 ZS-Admin до b52e14536d59fda11e56e2536a1c32e82a38cead com.zs.file.controller.SysFileController /api/system/file/upload Файл эскалация привилегий] |
|---|
| Баллы | 20 |
|---|