CVE Catalog

CVE-2004-1466

High
Published: Translated: NVD NIST

Summary

The set_time_limit function in Gallery before version 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 arbitrary scripts before they are deleted, if the temporary directory is under the web root.

Risk Assessment

The risk involves the possibility of remote code execution by an attacker, which could lead to server compromise, data theft, or further propagation of the attack within the organization's network.

Recommendation

Immediately update Gallery to version 1.4.4_p2 or later, and ensure that the temporary directory is not located under the web root.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS