Unrestricted file upload vulnerability in upload.php in Elkagroup Image Gallery 1.0 allows remote authenticated users to execute arbitrary code by uploading a file with an executable extension, then accessing it via a direct request to the file in gallery/pictures/. NOTE: some of these details are obtained from third party information.
https://www.exploit-db.com/exploits/8514
http://www.vupen.com/english/advisories/2009/1149
http://www.securityfocus.com/bid/34679