{"id":"CVE-2004-1466","aliases":["EUVD-2004-1460","GHSA-43pp-v2g2-vccm"],"status":"published","title":"The set_time_limit function in Gallery before 1.4.4_p2 deletes non-image files in a temporary...","description":"The set_time_limit function in Gallery before 1.4.4_p2 deletes non-image files in a temporary directory every 30 seconds after they have been uploaded using save_photos.php, which allows remote attackers to upload and execute execute arbitrary scripts before they are deleted, if the temporary directory is under the web root.","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.05233,"percentile":0.92572,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2004-12-31T05:00:00Z","modified":"2026-06-16T22:07:45Z","exploits":[{"source":"exploitdb","id":"EDB-24383","title":"Gallery 1.4.4 - Remote Server-Side Script Execution","type":"webapps","platform":"php","date":"2004-07-17","verified":true,"url":"https://www.exploit-db.com/exploits/24383"}],"products":[{"vendor":"gallery_project","product":"gallery"}],"references":[{"url":"http://www.securityfocus.com/bid/10968","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit","Patch"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17021","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://archives.neohapsis.com/archives/fulldisclosure/2004-08/0757.html","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","Exploit"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200409-05.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Patch"]},{"url":"http://gallery.menalto.com/modules.php?op=modload\u0026name=News\u0026file=article\u0026sid=134\u0026mode=thread\u0026order=0\u0026thold=0","tags":["x_refsource_CONFIRM","x_transferred","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-1466"},{"url":"https://github.com/advisories/GHSA-43pp-v2g2-vccm"}],"sources":{"cve":[{"id":"CVE-2004-1466","description":"The set_time_limit function in Gallery before 1.4.4_p2 deletes non-image files in a temporary directory every 30 seconds after they have been uploaded using save_photos.php, which allows remote attackers to upload and execute execute arbitrary scripts before they are deleted, if the temporary directory is under the web root.","status":"published","published":"2005-02-13T05:00:00Z","modified":"2024-08-08T00:53:23.809Z","updated_at":"2026-11-02T14:34:54.398187Z"}],"euvd":[{"id":"EUVD-2004-1460","description":"The set_time_limit function in Gallery before 1.4.4_p2 deletes non-image files in a temporary directory every 30 seconds after they have been uploaded using save_photos.php, which allows remote attackers to upload and execute execute arbitrary scripts before they are deleted, if the temporary directory is under the web root.","status":"published","published":"2005-02-13T05:00:00Z","modified":"2024-08-08T00:53:23Z","updated_at":"2026-11-03T01:15:14.640916Z"}],"ghsa":[{"id":"GHSA-43pp-v2g2-vccm","title":"The set_time_limit function in Gallery before 1.4.4_p2 deletes non-image files in a temporary...","description":"The set_time_limit function in Gallery before 1.4.4_p2 deletes non-image files in a temporary directory every 30 seconds after they have been uploaded using save_photos.php, which allows remote attackers to upload and execute execute arbitrary scripts before they are deleted, if the temporary directory is under the web root.","status":"published","published":"2022-04-29T02:59:37Z","modified":"2023-01-30T05:03:27Z","updated_at":"2026-11-02T14:46:50.469176Z"}],"nvd":[{"id":"CVE-2004-1466","description":"The set_time_limit function in Gallery before 1.4.4_p2 deletes non-image files in a temporary directory every 30 seconds after they have been uploaded using save_photos.php, which allows remote attackers to upload and execute execute arbitrary scripts before they are deleted, if the temporary directory is under the web root.","status":"published","published":"2004-12-31T05:00:00Z","modified":"2026-06-16T22:07:45.79Z","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:51.985436Z"}]}}
