إرسال #1019399: leomoon-studios wiki-go <= 1.9.1 Path Traversalالمعلومات

عنوان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)
ارسال08/10/2026 04:14 AM (15 أيام منذ)
الاعتدال21/10/2026 01:12 PM (13 days later)
الحالةتمت الموافقة
إدخال VulDB424734 [leomoon-studios wiki-go حتى 1.9.1 Comment Deletion comments.go DeleteComment documentPath اجتياز الدليل]
النقاط20

Do you want to use VulDB in your project?

Use the official API to access entries easily!