CVE-2004-2124 in Gallery Project Gallery
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Gallery Project | Gallery | 1.3.1 1.3.2 1.3.3 1.4 1.4.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2004-2124 |
|---|---|
| BreachSpider ID | BS-2004-GLOBAL-163741-M |
| CVSS vector | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| Published | 2004-12-31 |
| Last modified | 2026-06-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2004. A medium severity vulnerability affects Gallery Project systems (CVE-2004-2124). Public exploit code is available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: AV:N/AC:L/Au:N/C:N/I:P/A:N.
Questions
What is CVE-2004-2124?
This vulnerability was disclosed in 2004. A medium severity vulnerability affects Gallery Project systems (CVE-2004-2124). Public exploit code is available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2004-2124?
CVE-2004-2124 has CVSS 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N. EPSS: 7.4%.
Is CVE-2004-2124 actively exploited?
Public exploit available for CVE-2004-2124. Exploitation risk elevated.
How do I remediate CVE-2004-2124?
Priority: MONITOR.
What systems are affected by CVE-2004-2124?
CVE-2004-2124 affects Gallery Project Gallery.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Gallery Project","product":"Gallery","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.