The register_globals simulation capability in Gallery 1.3.1 through 1.4.1 allows remote attackers to modify the HTTP_POST_VARS variable and conduct a PHP remote file inclusion attack via the GALLERY_BASEDIR parameter, a different vulnerability than CVE-2002-1412.
https://exchange.xforce.ibmcloud.com/vulnerabilities/14950
http://www.securityfocus.com/bid/9490
http://www.gentoo.org/security/en/glsa/glsa-200402-04.xml
http://secunia.com/advisories/10712/
http://marc.info/?l=bugtraq&m=107524414317693&w=2
http://gallery.menalto.com/modules.php?op=modload&name=News&file=index