| 제목 | 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. AM 11:33 (2 개월 ago) |
|---|
| 모더레이션 | 2026. 08. 19. PM 03:55 (2 months later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 393040 [yangzongzhuan RuoYi-Vue 까지 3.9.2 Common Download Endpoint CommonController.java fileDownload/resourceDownload fileName/resource 디렉토리 순회] |
|---|
| 포인트들 | 20 |
|---|