| Título | YunaiV ruoyi-vue-pro 2026.04-jdk8-SNAPSHOT Arbitrary File Write |
|---|
| Descrição | A vulnerability has been found in YunaiV ruoyi-vue-pro. The AppFileController file upload endpoint is exposed without authentication through @PermitAll. In local file storage mode, the upload path is built from user-controlled directory and original filename values without proper normalization or traversal checks. As a result, a remote unauthenticated attacker can use path traversal sequences to write uploaded files outside of the configured basePath. Dynamic testing confirmed that files could be written to arbitrary same-drive directories and that frontend assets such as index.html could be overwritten, resulting in persistent cross-site scripting. The issue affects deployments using local file storage.
|
|---|
| Fonte | ⚠️ https://github.com/YunaiV/ruoyi-vue-pro/issues/1146 |
|---|
| Utilizador | wr0ld (UID 98487) |
|---|
| Submissão | 28/05/2026 09h41 (há 1 mês) |
|---|
| Moderação | 28/06/2026 09h56 (1 month later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 374536 [YunaiV/zhijiantianya ruoyi-vue-pro até 2026.04-jdk8-SNAPSHOT AppFileController File Upload Endpoint FileServiceImpl.java generateUploadPath Travessia de Diretório] |
|---|
| Pontos | 20 |
|---|