Unrestricted file upload vulnerability in processFiles.php in FOSS Gallery Admin and FOSS Gallery Public 1.0 beta allows remote attackers to execute arbitrary code by uploading a file with an executable extension, then accessing it via a direct request to the file in the root directory.
https://www.exploit-db.com/exploits/6680
https://www.exploit-db.com/exploits/6674
https://www.exploit-db.com/exploits/6670