إرسال #1070591: https://gitee.com/PerfreeBlog/PerfreeBlog/ PerfreeBlog 1.0 Path Traversalالمعلومات

عنوانhttps://gitee.com/PerfreeBlog/PerfreeBlog/ PerfreeBlog 1.0 Path Traversal
الوصفPerfreeBlog's theme file-read and directory-listing endpoints carry no `@PreAuthorize` annotation, so any authenticated user (registration is open by default) can call them. The `themePath` parameter is concatenated directly into a `File` path, and path validation relies on hutool's `PathUtil.isSub`, which compares path components as a prefix and does not normalize `..`. Supplying multiple levels of `../` therefore escapes the theme directory, allowing an attacker to read arbitrary file contents on the server or recursively list arbitrary directories.
المصدر⚠️ https://github.com/bkglfpp/CVE-md/blob/main/PerfreeBlog-main/theme-read-path-traversal.md
المستخدم
 youran (UID 89737)
ارسال02/11/2026 08:15 PM (29 أيام منذ)
الاعتدال30/11/2026 08:15 PM (28 days later)
الحالةمكرر
إدخال VulDB321363 [PerfreeBlog 4.0.11 getThemeFilesByName اجتياز الدليل]
النقاط0