إرسال #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)
ارسال02/07/2026 11:33 AM (2 أشهر منذ)
الاعتدال19/08/2026 03:55 PM (2 months later)
الحالةتمت الموافقة
إدخال VulDB393040 [yangzongzhuan RuoYi-Vue حتى 3.9.2 Common Download Endpoint CommonController.java fileDownload/resourceDownload fileName/resource اجتياز الدليل]
النقاط20

Do you want to use VulDB in your project?

Use the official API to access entries easily!