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.
Metrics
CVSS 2.0 7.5/10
AV:N/AC:L/Au:N/C:P/I:P/A:PAffected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://archives.neohapsis.com/archives/fulldisclosure/2004-08/0757.htmlExploit
- http://gallery.menalto.com/modules.php?op=modload&name=News&file=article&sid=134&mode=thread&order=0&thold=0Patch
- http://www.gentoo.org/security/en/glsa/glsa-200409-05.xmlPatch
- http://www.securityfocus.com/bid/10968Exploit, Patch
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17021
- http://archives.neohapsis.com/archives/fulldisclosure/2004-08/0757.htmlExploit
- http://gallery.menalto.com/modules.php?op=modload&name=News&file=article&sid=134&mode=thread&order=0&thold=0Patch
- http://www.gentoo.org/security/en/glsa/glsa-200409-05.xmlPatch
- http://www.securityfocus.com/bid/10968Exploit, Patch
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17021
Timeline
- Published
- Dec 31, 2004
- Last modified
- Jun 16, 2026
- NVD status
- Modified