Automatic Mass Tool for check and exploiting vulnerability in CVE-2022-4047 - Return Refund and Exchange For WooCommerce < 4.0.9 - Unauthenticated Arbitrary File Upload (Mass PHP File Upload)
- Using GNU Parallel. You must have parallel for run this tool.
- If you found error like "$'\r': command not found" just do "dos2unix woorefer.sh"
- Linux :
apt-get install parallel -y
- Windows : You can install WSL (windows subsystem linux) then do install like linux
if you want use windows (no wsl), install GitBash then do this command for install parallel:
[#]curl pi.dk/3/ > install.sh
[#]sha1sum install.sh | grep 12345678
[#]md5sum install.sh
[#]sha512sum install.sh
[#]bash install.sh
- Make sure you already install Parallel! Then do:
- [#]
git clone https://github.com/im-hanzou/WooRefer.git
- [#]
cd WooRefer
- [#] For Linux or WSL:
bash woorefer.sh list.txt thread
- [#] For Gitbash:
TMPDIR=/tmp bash woorefer.sh list.txt thread
- https://nvd.nist.gov/vuln/detail/CVE-2022-4047
- https://wpscan.com/vulnerability/8965a87c-5fe5-4b39-88f3-e00966ca1d94
- https://github.com/advisories/GHSA-3j85-6864-55p3
- This tool is for educational purposes only. Use it responsibly and with proper authorization. The author is not responsible for any misuse.