| 标题 | YunaiV ruoyi-vue-pro 2026.04-jdk8-SNAPSHOT Arbitrary File Write |
|---|
| 描述 | 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.
|
|---|
| 来源 | ⚠️ https://github.com/YunaiV/ruoyi-vue-pro/issues/1146 |
|---|
| 用户 | wr0ld (UID 98487) |
|---|
| 提交 | 2026-05-28 09時41分 (4 月前) |
|---|
| 管理 | 2026-06-28 09時56分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 374536 [YunaiV/zhijiantianya ruoyi-vue-pro 直到 2026.04-jdk8-SNAPSHOT AppFileController File Upload Endpoint FileServiceImpl.java generateUploadPath 目录遍历] |
|---|
| 积分 | 20 |
|---|