| Titel | YunaiV ruoyi-vue-pro 2026.04-jdk8-SNAPSHOT Arbitrary File Write |
|---|
| Beschreibung | 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.
|
|---|
| Quelle | ⚠️ https://github.com/YunaiV/ruoyi-vue-pro/issues/1146 |
|---|
| Benutzer | wr0ld (UID 98487) |
|---|
| Einreichung | 28.05.2026 09:41 (vor 1 Monat) |
|---|
| Moderieren | 28.06.2026 09:56 (1 month later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 374536 [YunaiV/zhijiantianya ruoyi-vue-pro bis 2026.04-jdk8-SNAPSHOT AppFileController File Upload Endpoint FileServiceImpl.java generateUploadPath Directory Traversal] |
|---|
| Punkte | 20 |
|---|