RubyZip 版本低于 3.4.0 存在一个路径遍历(Path Traversal)漏洞,位于 方法中。该漏洞的成因是:在验证解压路径时,使用不带尾部分隔符的前缀比较方式,未能正确校验解压路径。 攻击者可以构造存档条目,例如将文件名设为 ,从而将文件写入目标目录之外的同级路径(即共享目标前缀的相邻目录)。
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.
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet