Charmbracelet 的 wish 项目(2.0.5 版本之前)在 git 中间件(charm.land/wish/v2)中存在路径遍历漏洞。该漏洞允许已认证的 SSH 用户通过提供精心构造的仓库路径,绕过 git.Middleware() 中基于前向斜杠计数的缺陷防护机制,从而逃逸出配置的仓库目录。攻击者可利用单级路径 ,或在 Windows 系统上使用负载 ,完全绕过斜杠计数防护,进而通过 git-upload-pack、git-upload-archive 或 git-receive-pack 命令读取
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| charmbracelet | wish | 0 ~ 2.0.5 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC