{"id":"CVE-2004-1466","published":"2005-02-13T05:00:00Z","modified":"2024-08-08T00:53:23Z","title":"The set_time_limit function in Gallery before 1.4.4_p2 deletes non-image files in a temporary directory every 30…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05233,"percentile":0.92715,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/10968","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17021","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://archives.neohapsis.com/archives/fulldisclosure/2004-08/0757.html","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200409-05.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://gallery.menalto.com/modules.php?op=modload&name=News&file=article&sid=134&mode=thread&order=0&thold=0","tags":["x_refsource_CONFIRM"]}],"priority":{"score":23.5,"factors":[{"name":"EPSS percentile","points":18.54},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2004-07-17"},"first":{"date":"2004-07-17","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/24383"},"provenance":"source"},"summary":{"text":"The set_time_limit function in Gallery before 1.4.4_p2 is the flaw, and it deletes non-image files in a temporary directory every 30 seconds after they are uploaded via save_photos.php. A remote attacker can upload a script and execute it during the window before deletion, provided the temporary directory sits under the web root.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:05:34Z"},"euvd":{"id":"EUVD-2004-1460","exploited":false,"provenance":"source"},"exploits":[{"id":24383,"url":"https://www.exploit-db.com/exploits/24383","title":"Gallery 1.4.4 - Remote Server-Side Script Execution","date":"2004-07-17","verified":true,"provenance":"source"}]}