| 제목 | 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. PM 08:15 (28 날 ago) |
|---|
| 모더레이션 | 2026. 11. 30. PM 08:15 (28 days later) |
|---|
| 상태 | 중복 |
|---|
| VulDB 항목 | 321363 [PerfreeBlog 4.0.11 getThemeFilesByName 디렉토리 순회] |
|---|
| 포인트들 | 0 |
|---|