References
http://www.securityfocus.com/bid/72620
http://packetstormsecurity.com/files/130104/Photo-Gallery-1.2.5-Shell-Upload.html
http://packetstormsecurity.com/files/130384/WordPress-Photo-Gallery-1.2.5-Unrestricted-File-Upload.html
CWE-352