| Título | https://gitee.com/PerfreeBlog/PerfreeBlog/ PerfreeBlog 1.0 Path Traversal |
|---|
| Descrição | 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. |
|---|
| Fonte | ⚠️ https://github.com/bkglfpp/CVE-md/blob/main/PerfreeBlog-main/theme-read-path-traversal.md |
|---|
| Utilizador | youran (UID 89737) |
|---|
| Submissão | 02/11/2026 20h15 (há 29 dias) |
|---|
| Moderação | 30/11/2026 20h15 (28 days later) |
|---|
| Estado | Duplicado |
|---|
| Entrada VulDB | 321363 [PerfreeBlog 4.0.11 getThemeFilesByName Travessia de Diretório] |
|---|
| Pontos | 0 |
|---|