提交 #877790: yangzongzhuan RuoYi-Vue <=3.9.2 Path Traversal信息

标题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 月前)
管理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

Might our Artificial Intelligence support you?

Check our Alexa App!