CVE-2004-2124: Gallery - Remote File Inclusion
- Cve: CVE-2004-2124
- Name: Gallery - Remote File Inclusion
- Description: 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.
- Impact: Remote attackers can include arbitrary files, potentially leading to remote code execution or server compromise.
- Remediation: Update to the latest version of Gallery that disables register_globals simulation or apply security patches.
- Vulnerability type: file_inclusion
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5
- Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:N/I:P/A:N
- Epss score: 0.07353
- Epss percentile: 0.94552
- Assignee: [email protected]
- Published at: 2004-12-31T05:00:00Z
- Age in days: 7998
- Modified at: 2026-06-16T22:09:03Z
- Patch available: yes
- References total: 7
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2004-2124
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-Other | — |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gallery_project:gallery | = 1.4.1, = 1.4, = 1.3.3, = 1.3.2, = 1.3.1 | no | nvd | /v1/products/gallery_project/gallery |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts