{"id":"CVE-2002-1412","aliases":["DEBIAN-CVE-2002-1412","DSA-138","EUVD-2002-1395","GHSA-9gvv-93c9-r576"],"status":"published","title":"Gallery photo album package before 1.3.1 allows local and possibly remote attackers to execute...","description":"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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.39498,"percentile":0.98621,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"published":"2002-08-01T00:00:00Z","modified":"2026-06-16T21:59:16Z","exploits":[{"source":"exploitdb","id":"EDB-21676","title":"Bharat Mediratta Gallery 1.x - Remote File Inclusion","type":"webapps","platform":"php","date":"2002-08-01","verified":true,"url":"https://www.exploit-db.com/exploits/21676"}],"fixes":[{"ecosystem":"Debian:3.0","package":"gallery","fixed_in":["1.2.5-7"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:3.0","package":"gallery","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.5-7"}]}]}],"products":[{"vendor":"gallery_project","product":"gallery"}],"references":[{"url":"http://www.debian.org/security/2002/dsa-138","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Patch","Vendor Advisory"]},{"url":"http://archives.neohapsis.com/archives/bugtraq/2002-07/0471.html","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","Exploit","Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/5375","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://gallery.menalto.com/modules.php?op=modload\u0026name=News\u0026file=article\u0026sid=50\u0026mode=thread\u0026order=0\u0026thold=0","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/9737","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2002-1412"},{"url":"https://github.com/advisories/GHSA-9gvv-93c9-r576"}],"sources":{"cve":[{"id":"CVE-2002-1412","description":"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.","status":"published","published":"2004-09-01T04:00:00Z","modified":"2024-08-08T03:26:27.5Z","updated_at":"2026-11-02T14:33:54.641433Z"}],"euvd":[{"id":"EUVD-2002-1395","description":"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.","status":"published","published":"2004-09-01T04:00:00Z","modified":"2024-08-08T03:26:27Z","updated_at":"2026-11-03T01:14:56.257509Z"}],"ghsa":[{"id":"GHSA-9gvv-93c9-r576","title":"Gallery photo album package before 1.3.1 allows local and possibly remote attackers to execute...","description":"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.","status":"published","published":"2022-04-30T18:21:07Z","modified":"2023-01-30T05:06:22Z","updated_at":"2026-11-02T14:47:28.633261Z"}],"nvd":[{"id":"CVE-2002-1412","description":"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.","status":"published","published":"2003-04-11T04:00:00Z","modified":"2026-06-16T21:59:16.86Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:44.251133Z"}],"osv":[{"id":"DSA-138","title":"gallery - remote exploit","status":"published","published":"2002-08-01T00:00:00Z","modified":"2026-03-09T01:01:59.797021Z","updated_at":"2026-11-02T15:46:14.285228Z"}]}}
