Get your very own Craft demo site in https://demo.craftcms.com/ (The site will automatically expire in 48 hours) or build local.
My poc site :
1.login the site
2.Go to "Assets->upload files"
<?php phpinfo();?> into the pic by using "jpg_payload.php"
php jpg_payload.php news-link-1-image.jpg
Then the new pic "payload_news-link-1-image.jpg" is created.
5.Upload the "payload_news-link-1-image.jpg" ,now we can not change the filename by burpsuite.Then we upload the "payload_news-link-1-image.jpg" again,it will show up the warning as follow:
We choose the "Replace it".
6.Use burp to change the filename: