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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2022-4060 PoC — WordPress plugin User Post Gallery 代码注入漏洞

Source
Associated Vulnerability
Title:WordPress plugin User Post Gallery 代码注入漏洞 (CVE-2022-4060)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin User Post Gallery 2.19及之前版本存在代码注入漏洞,该漏洞源于callback函数允许任意用户调用,攻击者利用该漏洞可以在它的站点上运行代码。
Description
Automatic Mass Tool for checking vulnerability in CVE-2022-4060 - WordPress Plugin : User Post Gallery <= 2.19 - Unauthenticated RCE
Readme
# UPGer | CVE-2022-4060 - User Post Gallery
Automatic Mass Tool for checking vulnerability in CVE-2022-4060 - WordPress Plugin : User Post Gallery <= 2.19 - Unauthenticated RCE<br><br>
<img src="https://github.com/im-hanzou/UPGer/blob/main/ipger.png" width=600></img><br>
- Using GNU Parallel. You must have parallel for run this tool.<br>
- <b>If you found error like "$'\r': command not found" just do "dos2unix upger.sh"</b>
# Install Parallel
- Linux : <code>apt-get install parallel -y</code><br>
- Windows : You can install WSL (windows subsystem linux) then do install like linux<br>if you want use windows (no wsl), install <a href="https://git-scm.com/download/win">GitBash</a> then do this command for install parallel: <br>
[#] <code>curl pi.dk/3/ > install.sh </code><br>[#] <code>sha1sum install.sh | grep 12345678 </code><br>[#] <code>md5sum install.sh </code><br>[#] <code>sha512sum install.sh </code><br>[#] <code>bash install.sh</code><br>
# How To Use
- [#] <code>bash upger.sh yourlist.txt thread</code>
# Reference
- https://nvd.nist.gov/vuln/detail/CVE-2022-4060
- https://wpscan.com/vulnerability/8f982ebd-6fc5-452d-8280-42e027d01b1e
- https://github.com/advisories/GHSA-g823-9xxv-px4q
File Snapshot

[4.0K] /data/pocs/cfaa7a0b50e13ed234faafded8582cbf5f2cd808 ├── [153K] ipger.png ├── [ 76] list.txt ├── [ 23] notvuln.txt ├── [1.2K] README.md ├── [1.6K] upger.sh └── [ 61] vuln.txt 0 directories, 6 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.