PT-2004-2379 · Gallery · Gallery

Published

2004-12-31

·

Updated

2017-07-11

·

CVE-2004-1466

CVSS v2.0

7.5

High

VectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions: Gallery versions prior to 1.4.4 p2
Description: The issue allows remote attackers to upload and execute arbitrary scripts. This is possible because the set time limit function deletes non-image files in a temporary directory every 30 seconds after they have been uploaded using save photos.php. If the temporary directory is under the web root, attackers can exploit this before the files are deleted.
Recommendations: For versions prior to 1.4.4 p2, update to version 1.4.4 p2 or later to resolve the issue. As a temporary workaround, consider restricting access to the temporary directory or moving it outside of the web root to minimize the risk of exploitation.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

CVE-2004-1466

Affected Products

Gallery