Coppermine gallery before 1.4.26 has an input validation vulnerability that allows for code execution.
Coppermine gallery before
Exploit
CVE-2010-4815
NVD
Refer to CVE-2010-4815 NVD advisory