Gallery 1.4/1.4 Pl1 URL index.php GALLERY_BASEDIR code injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Gallery 1.4/1.4 Pl1. It has been classified as critical. The affected element is an unknown function of the file index.php of the component URL Handler. Performing a manipulation of the argument GALLERY_BASEDIR results in code injection. This vulnerability is cataloged as CVE-2003-1227. Furthermore, there is an exploit available. Upgrading the affected component is recommended.
Details
A vulnerability classified as critical has been found in Gallery 1.4/1.4 Pl1 (Photo Gallery Software). This affects an unknown code block of the file index.php of the component URL Handler. The manipulation of the argument GALLERY_BASEDIR with an unknown input leads to a code injection vulnerability. CWE is classifying the issue as CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
PHP remote file include vulnerability in index.php for Gallery 1.4 and 1.4-pl1, when running on Windows or in Configuration mode on Unix, allows remote attackers to inject arbitrary PHP code via a URL in the GALLERY_BASEDIR parameter, a different vulnerability than CVE-2002-1412. NOTE: this issue might be exploitable only during installation, or if the administrator has not run a security script after installation.
The weakness was shared 12/31/2003 (Website). It is possible to read the advisory at securityfocus.com. This vulnerability is uniquely identified as CVE-2003-1227 since 08/16/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 T1059 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:index.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 11876 (Gallery index.php GALLERY_BASEDIR Parameter Remote File Inclusion), 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. The commercial vulnerability scanner Qualys is able to test this issue with plugin 11429 (Gallery Index.php Remote File Include Vulnerability).
Upgrading eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability. Attack attempts may be identified with Snort ID 2306.
The vulnerability is also documented in the databases at X-Force (13419), Exploit-DB (23238), Tenable (11876), SecurityFocus (BID 8814†) and Vulnerability Center (SBV-2682†). Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
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: Code injectionCWE: CWE-94 / CWE-74 / CWE-707
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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 11876
Nessus Name: Gallery index.php GALLERY_BASEDIR Parameter Remote File Inclusion
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Snort ID: 2306
Snort Message: SERVER-WEBAPP gallery remote file include attempt
Snort Class: 🔍
SourceFire IPS: 🔍
Timeline
10/11/2003 🔍10/11/2003 🔍
10/11/2003 🔍
10/12/2003 🔍
10/26/2003 🔍
12/31/2003 🔍
12/31/2003 🔍
08/16/2005 🔍
08/22/2014 🔍
07/16/2025 🔍
Sources
Advisory: securityfocus.com⛔Status: Confirmed
CVE: CVE-2003-1227 (🔍)
GCVE (CVE): GCVE-0-2003-1227
GCVE (VulDB): GCVE-100-21159
X-Force: 13419
SecurityFocus: 8814 - Gallery index.php Remote File Include Vulnerability
Vulnerability Center: 2682 - File Include in Gallery 1.4 Allows Code Execution, Medium
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 08/22/2014 15:59Updated: 07/16/2025 17:57
Changes: 08/22/2014 15:59 (70), 05/16/2019 11:09 (2), 01/01/2025 18:51 (27), 07/16/2025 17:57 (2)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.