| タイトル | 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) |
|---|
| 送信 | 2026年11月02日 20:15 (30 日 ago) |
|---|
| モデレーション | 2026年11月30日 20:15 (28 days later) |
|---|
| ステータス | 重複 |
|---|
| VulDBエントリ | 321363 [PerfreeBlog 4.0.11 getThemeFilesByName ディレクトリトラバーサル] |
|---|
| ポイント | 0 |
|---|