← Vulnerability feed

Vulnerability record · CVE-2004-2124 · published 31 December 2004

CVE-2004-2124: Gallery project gallery vulnerability

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.

5.0 CVSS 2.0 Medium EPSS 7.4% · top 5.8%
5.0CVSS 2.0 base score
7.4%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
14References
16 Jun 2026Last modified by NVD

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.

AV:N/AC:L/Au:N/C:N/I:P/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2004-2124 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2004-0522Gallery project gallery vulnerabilityGallery 1.4.3 and earlier allows remote attackers to bypass authentication and obtain Gallery administrator privileges.EPSS 2.8%9.8CVE-2012-4919Gallery project gallery inclusion from untrusted sphere vulnerabilityGallery Plugin1.4 for WordPress has a Remote File Include VulnerabilityEPSS 2.9%7.5CVE-2004-1466Gallery project gallery vulnerabilityThe set_time_limit function in Gallery before 1.4.4_p2 deletes non-image files in a temporary directory every 30 seconds after they have been uploade…EPSS 5.2%7.5CVE-2003-1227Gallery project gallery code injection vulnerabilityPHP 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 remo…EPSS 6.7%7.5CVE-2002-1412Gallery project gallery vulnerabilityGallery photo album package before 1.3.1 allows local and possibly remote attackers to execute arbitrary code via a modified GALLERY_BASEDIR variable…EPSS 39%7.5CVE-2002-2123Gallery project gallery vulnerabilityPHP remote file inclusion vulnerability in publish_xp_docs.php for Gallery 1.3.2 allows remote attackers to inject arbitrary PHP code by specifying a…EPSS 2.4%7.5CVE-2002-2130Gallery project gallery vulnerabilitypublish_xp_docs.php in Gallery 1.3.2 allows remote attackers to execute arbitrary PHP code by modifying the GALLERY_BASEDIR parameter to reference a …EPSS 1.6%7.5CVE-2001-1234Gallery project gallery vulnerabilityBharat Mediratta Gallery PHP script before 1.2.1 allows remote attackers to execute arbitrary code by including files from remote web sites via an HT…EPSS 3.5%

Source: NIST National Vulnerability Database (record CVE-2004-2124), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.