| 제목 | leomoon-studios wiki-go <= 1.9.1 Path Traversal |
|---|
| 설명 | wiki-go ≤ 1.9.1 contains a path-traversal flaw in the DeleteCommentHandler (admin-only) that allows an authenticated administrator to delete arbitrary files on the host filesystem by submitting a crafted documentPath segment in the request URL. The vulnerability is rooted in internal/comments/comments.go (DeleteComment) which concatenates the URL-derived path into os.Remove without any filepath.Clean or SanitizePath validation; DeleteCommentHandler only validates the trailing commentID against a loose regex (^\d{14}_[\w-]+\.md$), not the documentPath. The flaw affects all default deployments (admin role, default credentials admin/admin). |
|---|
| 원천 | ⚠️ https://github.com/leomoon-studios/wiki-go/security/advisories/GHSA-g86r-58wp-4v86 |
|---|
| 사용자 | mikannse (UID 100854) |
|---|
| 제출 | 2026. 10. 08. AM 04:14 (14 날 ago) |
|---|
| 모더레이션 | 2026. 10. 21. PM 01:12 (13 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 424734 [leomoon-studios wiki-go 까지 1.9.1 Comment Deletion comments.go DeleteComment documentPath 디렉토리 순회] |
|---|
| 포인트들 | 20 |
|---|