{"api_version":"1","generated_at":"2026-07-23T00:57:53+00:00","cve":"CVE-2004-2124","urls":{"html":"https://cve.report/CVE-2004-2124","api":"https://cve.report/api/cve/CVE-2004-2124.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2004-2124","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2004-2124"},"summary":{"title":"CVE-2004-2124","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.","state":"PUBLISHED","assigner":"mitre","published_at":"2004-12-31 05:00:00","updated_at":"2025-04-03 01:03:51"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"5","severity":"","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"}}],"references":[{"url":"http://www.gentoo.org/security/en/glsa/glsa-200402-04.xml","name":"http://www.gentoo.org/security/en/glsa/glsa-200402-04.xml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Gentoo Linux Documentation\n--\n  Gallery 1.4.1 and below remote exploit vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/10712/","name":"http://secunia.com/advisories/10712/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Secunia - Advisories - Gallery Arbitrary File Inclusion Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.osvdb.org/3737","name":"http://www.osvdb.org/3737","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/14950","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/14950","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/9490","name":"http://www.securityfocus.com/bid/9490","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Gallery Remote Global Variable Injection Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://gallery.menalto.com/modules.php?op=modload&name=News&file=index","name":"http://gallery.menalto.com/modules.php?op=modload&name=News&file=index","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"404 Not Found","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://marc.info/?l=bugtraq&m=107524414317693&w=2","name":"http://marc.info/?l=bugtraq&m=107524414317693&w=2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"'Remote exploit in Gallery 1.3.1, 1.3.2, 1.3.3, 1.4 and 1.4.1' - MARC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-2124","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-2124","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2004","cve_id":"2124","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gallery_project","cpe5":"gallery","cpe6":"1.3.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"2124","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gallery_project","cpe5":"gallery","cpe6":"1.3.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"2124","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gallery_project","cpe5":"gallery","cpe6":"1.3.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"2124","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gallery_project","cpe5":"gallery","cpe6":"1.4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2004","cve_id":"2124","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gallery_project","cpe5":"gallery","cpe6":"1.4.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-08T01:15:01.604Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"9490","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/9490"},{"name":"10712","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/10712/"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://gallery.menalto.com/modules.php?op=modload&name=News&file=index"},{"name":"gallery-gallerybasedir-file-include(14950)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/14950"},{"name":"GLSA-200402-04","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"http://www.gentoo.org/security/en/glsa/glsa-200402-04.xml"},{"name":"20040127 Remote exploit in Gallery 1.3.1, 1.3.2, 1.3.3, 1.4 and 1.4.1","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://marc.info/?l=bugtraq&m=107524414317693&w=2"},{"name":"3737","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://www.osvdb.org/3737"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2004-01-27T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-07-10T14:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"9490","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/9490"},{"name":"10712","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/10712/"},{"tags":["x_refsource_CONFIRM"],"url":"http://gallery.menalto.com/modules.php?op=modload&name=News&file=index"},{"name":"gallery-gallerybasedir-file-include(14950)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/14950"},{"name":"GLSA-200402-04","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"http://www.gentoo.org/security/en/glsa/glsa-200402-04.xml"},{"name":"20040127 Remote exploit in Gallery 1.3.1, 1.3.2, 1.3.3, 1.4 and 1.4.1","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://marc.info/?l=bugtraq&m=107524414317693&w=2"},{"name":"3737","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://www.osvdb.org/3737"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2004-2124","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"9490","refsource":"BID","url":"http://www.securityfocus.com/bid/9490"},{"name":"10712","refsource":"SECUNIA","url":"http://secunia.com/advisories/10712/"},{"name":"http://gallery.menalto.com/modules.php?op=modload&name=News&file=index","refsource":"CONFIRM","url":"http://gallery.menalto.com/modules.php?op=modload&name=News&file=index"},{"name":"gallery-gallerybasedir-file-include(14950)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/14950"},{"name":"GLSA-200402-04","refsource":"GENTOO","url":"http://www.gentoo.org/security/en/glsa/glsa-200402-04.xml"},{"name":"20040127 Remote exploit in Gallery 1.3.1, 1.3.2, 1.3.3, 1.4 and 1.4.1","refsource":"BUGTRAQ","url":"http://marc.info/?l=bugtraq&m=107524414317693&w=2"},{"name":"3737","refsource":"OSVDB","url":"http://www.osvdb.org/3737"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2004-2124","datePublished":"2005-05-27T04:00:00.000Z","dateReserved":"2005-05-27T00:00:00.000Z","dateUpdated":"2024-08-08T01:15:01.604Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2004-12-31 05:00:00","lastModifiedDate":"2025-04-03 01:03:51","problem_types":["NVD-CWE-Other","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:gallery_project:gallery:1.3.1:*:*:*:*:*:*:*","matchCriteriaId":"D2DB56C3-40B6-42DB-8ABB-277BC60B7C42"},{"vulnerable":true,"criteria":"cpe:2.3:a:gallery_project:gallery:1.3.2:*:*:*:*:*:*:*","matchCriteriaId":"017FB4AC-DCC3-404A-92D5-7F34205DBF05"},{"vulnerable":true,"criteria":"cpe:2.3:a:gallery_project:gallery:1.3.3:*:*:*:*:*:*:*","matchCriteriaId":"133FA40B-D8DA-4F1B-9FDB-E70C3EDAAF03"},{"vulnerable":true,"criteria":"cpe:2.3:a:gallery_project:gallery:1.4:*:*:*:*:*:*:*","matchCriteriaId":"B821AEB0-7C0C-407E-9CCB-EEB16E1A2719"},{"vulnerable":true,"criteria":"cpe:2.3:a:gallery_project:gallery:1.4.1:*:*:*:*:*:*:*","matchCriteriaId":"F517D6BA-9793-4A4D-BDC6-2F5349F0B354"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2004","CveId":"2124","Ordinal":"1","Title":"CVE-2004-2124","CVE":"CVE-2004-2124","Year":"2004"},"notes":[{"CveYear":"2004","CveId":"2124","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2004-2124"},{"CveYear":"2004","CveId":"2124","Ordinal":"2","NoteData":"2005-05-27","Type":"Other","Title":"Published"},{"CveYear":"2004","CveId":"2124","Ordinal":"3","NoteData":"2017-07-10","Type":"Other","Title":"Modified"}]}}}