Gallery 1.3.1/1.3.2/1.3.3/1.4/1.4.1 GALLERY_BASEDIR file inclusion

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.
4.8$0-$5k0.00

Summaryinfo

A vulnerability has been found in Gallery 1.3.1/1.3.2/1.3.3/1.4/1.4.1 and classified as critical. This affects an unknown part. This manipulation of the argument GALLERY_BASEDIR causes file inclusion. This vulnerability is tracked as CVE-2004-2124. Moreover, an exploit is present. The affected component should be upgraded. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Detailsinfo

A vulnerability was found in Gallery 1.3.1/1.3.2/1.3.3/1.4/1.4.1 (Photo Gallery Software). It has been declared as critical. Affected by this vulnerability is an unknown part. The manipulation of the argument GALLERY_BASEDIR with an unknown input leads to a file inclusion vulnerability. The CWE definition for the vulnerability is CWE-73. The product allows user input to control or influence paths or file names that are used in filesystem operations. As an impact it is known to affect integrity. The summary by CVE is:

The register_globals simulation capability in Gallery 1.3.1 through 1.4.1 allows remote attackers to modify the HTTP_POST_VARS variable and conduct a PHP remote file inclusion attack via the GALLERY_BASEDIR parameter, a different vulnerability than CVE-2002-1412.

The bug was discovered 01/24/2004. The weakness was disclosed 01/24/2004 as not defined posting (Bugtraq). It is possible to read the advisory at marc.theaimsgroup.com. This vulnerability is known as CVE-2004-2124 since 05/27/2005. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known.

It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 18846 (FreeBSD : gallery -- remote code injection via HTTP_POST_VARS (12b1a62d-6056-4d90-9e21-45fcde6abae4)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks and running in the context l.

Upgrading eliminates this vulnerability. A possible mitigation has been published 2 years after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (14950), Exploit-DB (23599), Tenable (18846), SecurityFocus (BID 9490†) and OSVDB (3737†). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 4.8

VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: File inclusion
CWE: CWE-73
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

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

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 18846
Nessus Name: FreeBSD : gallery -- remote code injection via HTTP_POST_VARS (12b1a62d-6056-4d90-9e21-45fcde6abae4)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 53078
OpenVAS Name: FreeBSD Ports: gallery
OpenVAS File: 🔍
OpenVAS Family: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Timelineinfo

01/24/2004 🔍
01/24/2004 +0 days 🔍
01/26/2004 +2 days 🔍
01/26/2004 +0 days 🔍
01/26/2004 +0 days 🔍
01/27/2004 +1 days 🔍
12/31/2004 +338 days 🔍
05/27/2005 +147 days 🔍
06/17/2005 +21 days 🔍
07/13/2005 +26 days 🔍
07/25/2005 +12 days 🔍
03/09/2015 +3514 days 🔍
03/09/2025 +3653 days 🔍

Sourcesinfo

Advisory: marc.theaimsgroup.com
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2004-2124 (🔍)
GCVE (CVE): GCVE-0-2004-2124
GCVE (VulDB): GCVE-100-23047
X-Force: 14950
SecurityFocus: 9490 - Gallery Remote Global Variable Injection Vulnerability
Secunia: 10712 - Gallery Arbitrary File Inclusion Vulnerability, Highly Critical
OSVDB: 3737 - Gallery HTTP Global Variables File Inclusion
Vulnerability Center: 8664 - PHP Injection in Gallery 1.3.1 - 1.4.1 via Gallery_basedire Parameter, Medium

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

Entryinfo

Created: 03/09/2015 03:52 PM
Updated: 03/09/2025 06:08 AM
Changes: 03/09/2015 03:52 PM (81), 06/07/2019 11:02 AM (2), 03/09/2025 06:08 AM (27)
Complete: 🔍
Cache ID: 244:28E:40

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!