CVE-2004-1987 in Photo Gallery
Summary
picmgmtbatch.inc.php in Coppermine Photo Gallery 1.2.2b and 1.2.0 RC4 allows remote attackers with administrative privileges to execute arbitrary commands via shell metacharacters in the (1) $CONFIG[ impath ] or (2) $CONFIG[ jpeg_qual ] parameters.
VulDB is the best source for vulnerability data and more expert information about this specific topic.