Gallery 1.3.1/1.3.2/1.3.3/1.4/1.4.1 GALLERY_BASEDIR file inclusion
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.8 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 4.8
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: File inclusionCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Timeline
01/24/2004 🔍01/24/2004 🔍
01/26/2004 🔍
01/26/2004 🔍
01/26/2004 🔍
01/27/2004 🔍
12/31/2004 🔍
05/27/2005 🔍
06/17/2005 🔍
07/13/2005 🔍
07/25/2005 🔍
03/09/2015 🔍
03/09/2025 🔍
Sources
Advisory: marc.theaimsgroup.comStatus: 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
Entry
Created: 03/09/2015 03:52 PMUpdated: 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
No comments yet. Languages: en.
Please log in to comment.