提出 #1019389: leomoon-studios wiki-go <= 1.9.1 Path Traversal情報

タイトルleomoon-studios wiki-go <= 1.9.1 Path Traversal
説明The /api/files/rename endpoint, reachable by any user with the editor role, accepts a JSON body with currentPath and newName. Neither value is validated against .., and both are joined under the documents directory before being passed to os.Rename. An editor can therefore relocate any file under the wiki data root — including config.yaml, static/, versions/, and comments/ — to any path within the same filesystem, escaping the documents/ sandbox. Relocating config.yaml forces the application to regenerate default credentials (admin/admin) on the next start, and relocating it into the documents tree as a .txt file discloses every user's password hash. Default configuration is affected.
ソース⚠️ https://github.com/leomoon-studios/wiki-go/security/advisories/GHSA-xg75-vx57-m5mx
ユーザー
 mikannse (UID 100854)
送信2026年10月08日 04:10 (15 日 ago)
モデレーション2026年10月21日 13:12 (13 days later)
ステータス承諾済み
VulDBエントリ424732 [leomoon-studios wiki-go 迄 1.9.1 Files Rename API files.go RenameFileHandler currentPath/newName ディレクトリトラバーサル]
ポイント20

Do you know our Splunk app?

Download it now for free!