An issue was discovered in Snap Creek Duplicator before 1.2.42. By accessing leftover installer files (installer.php and installer-backup.php), an attacker can inject PHP code into wp-config.php during the database setup step, achieving arbitrary code execution.
https://www.synacktiv.com/ressources/advisories/WordPress_Duplicator-1.2.40-RCE.pdf