CVE-2004-1466 File upload in n/a

High 7.5 Published Updated

Remote attackers can upload and execute arbitrary scripts in Gallery if the temporary directory is web-accessible, leading to code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2004-1466?

CVE-2004-1466 is a high-severity vulnerability in n/a, published on 13 Feb 2005. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2004-1466?

It affects 1 product.

Products include Gallery Project Gallery.

How do I fix CVE-2004-1466?

No fix has been published for CVE-2004-1466 yet. Limit exposure of the affected software until one is available.

Is CVE-2004-1466 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-1466 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-43pp-v2g2-vccm.

Is CVE-2004-1466 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free