| Название | SonicCloudOrg sonic-server 2.0.0 Injection |
|---|
| Описание | Sonic Server provides file upload functionality through two endpoints: /upload and /upload/v2. Both endpoints accept a type parameter that is intended to specify the upload directory category (e.g., "keepFiles", "imageFiles", "recordFiles", "logFiles", "packageFiles"). However, the application does not enforce any validation on this parameter, allowing an attacker to supply directory traversal sequences such as ../ or ..\\.
The vulnerable code in FileTool.java directly concatenates the user-controlled folderName parameter into the file path without sanitization. It then uses mkdirs() to create directories and transferTo() to write files at the attacker-specified location, effectively bypassing any intended directory restrictions. |
|---|
| Источник | ⚠️ https://github.com/ccccccctiiiiiiii-lab/public_exp/issues/2 |
|---|
| Пользователь | cccccccti (UID 96695) |
|---|
| Представление | 29.03.2026 11:24 (26 дни назад) |
|---|
| Модерация | 19.04.2026 18:23 (21 days later) |
|---|
| Статус | принято |
|---|
| Запись VulDB | 358255 [SonicCloudOrg sonic-server до 2.0.0 File Upload Endpoint FileTool.java upload Тип обход каталога] |
|---|
| Баллы | 20 |
|---|