Gallery 1.4.4 save_photos.php set_time_limit privileges management

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.6$0-$5k0.00

Summaryinfo

A vulnerability was found in Gallery 1.4.4. It has been classified as critical. The impacted element is the function set_time_limit of the file save_photos.php. Performing a manipulation results in privileges management. This vulnerability is known as CVE-2004-1466. Furthermore, an exploit is available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability, which was classified as critical, was found in Gallery 1.4.4 (Photo Gallery Software). This affects the function set_time_limit of the file save_photos.php. The manipulation with an unknown input leads to a privileges management vulnerability. CWE is classifying the issue as CWE-269. The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

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.

The weakness was published 12/31/2004 by aCiDBiTS (Website). It is possible to read the advisory at securityfocus.com. This vulnerability is uniquely identified as CVE-2004-1466 since 02/13/2005. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a public exploit are known. The attack technique deployed by this issue is T1068 according to MITRE ATT&CK.

The exploit is shared for download at exploit-db.com. It is declared as proof-of-concept. By approaching the search of inurl:save_photos.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 14338 (Gallery save_photos.php Arbitrary Command Execution), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses and running in the context r.

Upgrading to version 1.4.4_p2 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (17021), Exploit-DB (24383), Tenable (14338), SecurityFocus (BID 10968†) and Vulnerability Center (SBV-5258†). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Type

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Privileges management
CWE: CWE-269 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 14338
Nessus Name: Gallery save_photos.php Arbitrary Command Execution
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 54662
OpenVAS Name: Gentoo Security Advisory GLSA 200409-05 (Gallery)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Gallery 1.4.4_p2

Timelineinfo

07/17/2004 🔍
08/17/2004 +31 days 🔍
08/21/2004 +4 days 🔍
08/22/2004 +1 days 🔍
09/02/2004 +11 days 🔍
12/31/2004 +120 days 🔍
12/31/2004 +0 days 🔍
02/13/2005 +44 days 🔍
04/14/2015 +3712 days 🔍
03/09/2025 +3617 days 🔍

Sourcesinfo

Advisory: securityfocus.com
Researcher: aCiDBiTS
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2004-1466 (🔍)
GCVE (CVE): GCVE-0-2004-1466
GCVE (VulDB): GCVE-100-22755
X-Force: 17021
SecurityFocus: 10968 - Gallery Remote Server-Side Script Execution Vulnerability
Vulnerability Center: 5258 - Gallery 1.4.4 Allows Code Execution via save_photos.php Script, Medium

scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 04/14/2015 13:29
Updated: 03/09/2025 20:16
Changes: 04/14/2015 13:29 (71), 05/24/2019 14:33 (3), 03/09/2025 20:16 (27)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!