| タイトル | yangzongzhuan RuoYi-Vue <=3.9.2 Path Traversal |
|---|
| 説明 | The /common/download and /common/download/resource endpoints accept a user-controlled filename and guard it with FileUtils.checkAllowDownload, which only rejects the literal .. substring and enforces an extension allowlist. It does not canonicalize the path, reject absolute paths, or confine the result to the intended base directory. An authenticated user can therefore supply an absolute path (no .. needed) ending in an allowed extension to read or delete arbitrary files on the host — for example /etc/... or any *.zip/*.png/etc. anywhere on the filesystem. |
|---|
| ソース | ⚠️ https://github.com/yangzongzhuan/RuoYi-Vue/issues/151 |
|---|
| ユーザー | Ana10gy (UID 93358) |
|---|
| 送信 | 2026年07月02日 11:33 (2 月 ago) |
|---|
| モデレーション | 2026年08月19日 15:55 (2 months later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 393040 [yangzongzhuan RuoYi-Vue 迄 3.9.2 Common Download Endpoint CommonController.java fileDownload/resourceDownload fileName/resource ディレクトリトラバーサル] |
|---|
| ポイント | 20 |
|---|