| Titel | https://gitee.com/PerfreeBlog/PerfreeBlog/ PerfreeBlog 1.0 Path Traversal |
|---|
| Beschreibung | 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. |
|---|
| Quelle | ⚠️ https://github.com/bkglfpp/CVE-md/blob/main/PerfreeBlog-main/theme-read-path-traversal.md |
|---|
| Benutzer | youran (UID 89737) |
|---|
| Einreichung | 02.11.2026 20:15 (vor 28 Tagen) |
|---|
| Moderieren | 30.11.2026 20:15 (28 days later) |
|---|
| Status | Duplikat |
|---|
| VulDB Eintrag | 321363 [PerfreeBlog 4.0.11 getThemeFilesByName Directory Traversal] |
|---|
| Punkte | 0 |
|---|