{"id":"CVE-2002-1412","published":"2004-09-01T04:00:00Z","modified":"2024-08-08T03:26:27Z","title":"Gallery photo album package before 1.3.1 allows local and possibly remote attackers to execute arbitrary code via a…","vendor":null,"product":null,"tier":"tail","description":{"text":"Gallery photo album package before 1.3.1 allows local and possibly remote attackers to execute arbitrary code via a modified GALLERY_BASEDIR variable that points to a directory or URL that contains a Trojan horse init.php script.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.39498,"percentile":0.98645,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.debian.org/security/2002/dsa-138","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://archives.neohapsis.com/archives/bugtraq/2002-07/0471.html","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.securityfocus.com/bid/5375","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://gallery.menalto.com/modules.php?op=modload&name=News&file=article&sid=50&mode=thread&order=0&thold=0","tags":["x_refsource_CONFIRM"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/9737","tags":["vdb-entry","x_refsource_XF"]}],"priority":{"score":24.7,"factors":[{"name":"EPSS percentile","points":19.73},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2002-08-01"},"first":{"date":"2002-08-01","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/21676"},"provenance":"source"},"summary":{"text":"The Gallery photo album package, before version 1.3.1, contains a flaw in how it handles the GALLERY_BASEDIR variable. Attackers with local access, and possibly remote attackers, can execute arbitrary code by modifying GALLERY_BASEDIR to point to a directory or URL containing a malicious init.php script.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:42:18Z"},"euvd":{"id":"EUVD-2002-1395","exploited":false,"provenance":"source"},"exploits":[{"id":21676,"url":"https://www.exploit-db.com/exploits/21676","title":"Bharat Mediratta Gallery 1.x - Remote File Inclusion","date":"2002-08-01","verified":true,"provenance":"source"}]}