{"api_version":"1","generated_at":"2026-07-23T05:43:38+00:00","cve":"CVE-2008-1840","urls":{"html":"https://cve.report/CVE-2008-1840","api":"https://cve.report/api/cve/CVE-2008-1840.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2008-1840","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2008-1840"},"summary":{"title":"CVE-2008-1840","description":"SQL injection vulnerability in upload.php in Coppermine Photo Gallery (CPG) 1.4.16 and earlier allows remote authenticated users or user-assisted remote HTTP servers to execute arbitrary SQL commands via the Content-Type HTTP response header provided by the HTTP server that is used for an upload.","state":"PUBLISHED","assigner":"mitre","published_at":"2008-04-16 17:05:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["CWE-89","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"6.5","severity":"","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","baseScore":6.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://secunia.com/advisories/29795","name":"http://secunia.com/advisories/29795","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Coppermine Photo Gallery \"upload.php\" SQL Injection - Secunia Advisories - Vulnerability Intelligence - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.osvdb.org/44345","name":"http://www.osvdb.org/44345","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"http://forum.coppermine-gallery.net/index.php/topic%2C51787%2C0.html","name":"http://forum.coppermine-gallery.net/index.php/topic%2C51787%2C0.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://sourceforge.net/project/shownotes.php?group_id=89658&release_id=592069","name":"http://sourceforge.net/project/shownotes.php?group_id=89658&release_id=592069","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"SourceForge.net: Coppermine Photo Gallery: Files","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/28766","name":"http://www.securityfocus.com/bid/28766","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"Coppermine Photo Gallery 'upload.php' SQL Injection Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41784","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41784","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://forum.coppermine-gallery.net/index.php/topic,51787,0.html","name":"CONFIRM:http://forum.coppermine-gallery.net/index.php/topic,51787,0.html","refsource":"MITRE","tags":[],"title":"","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-1840","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-1840","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":"2008","cve_id":"1840","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"coppermine","cpe5":"coppermine_photo_gallery","cpe6":"1.4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"1840","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"coppermine","cpe5":"coppermine_photo_gallery","cpe6":"1.4.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"1840","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"coppermine","cpe5":"coppermine_photo_gallery","cpe6":"1.4.10","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"1840","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"coppermine","cpe5":"coppermine_photo_gallery","cpe6":"1.4.11","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"1840","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"coppermine","cpe5":"coppermine_photo_gallery","cpe6":"1.4.12","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"1840","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"coppermine","cpe5":"coppermine_photo_gallery","cpe6":"1.4.13","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"1840","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"coppermine","cpe5":"coppermine_photo_gallery","cpe6":"1.4.14","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"1840","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"coppermine","cpe5":"coppermine_photo_gallery","cpe6":"1.4.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"1840","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"coppermine","cpe5":"coppermine_photo_gallery","cpe6":"1.4.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"1840","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"coppermine","cpe5":"coppermine_photo_gallery","cpe6":"1.4.4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"1840","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"coppermine","cpe5":"coppermine_photo_gallery","cpe6":"1.4.5","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"1840","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"coppermine","cpe5":"coppermine_photo_gallery","cpe6":"1.4.6","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"1840","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"coppermine","cpe5":"coppermine_photo_gallery","cpe6":"1.4.7","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"1840","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"coppermine","cpe5":"coppermine_photo_gallery","cpe6":"1.4.8","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"1840","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"coppermine","cpe5":"coppermine_photo_gallery","cpe6":"1.4.9","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"1840","vulnerable":"1","versionEndIncluding":"1.4.16","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"coppermine","cpe5":"coppermine_photo_gallery","cpe6":"*","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-07T08:40:59.516Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"coppermine-upload-sql-injection(41784)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41784"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://sourceforge.net/project/shownotes.php?group_id=89658&release_id=592069"},{"name":"28766","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/28766"},{"name":"29795","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/29795"},{"name":"44345","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://www.osvdb.org/44345"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://forum.coppermine-gallery.net/index.php/topic%2C51787%2C0.html"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2008-04-11T00:00:00.000Z","descriptions":[{"lang":"en","value":"SQL injection vulnerability in upload.php in Coppermine Photo Gallery (CPG) 1.4.16 and earlier allows remote authenticated users or user-assisted remote HTTP servers to execute arbitrary SQL commands via the Content-Type HTTP response header provided by the HTTP server that is used for an upload."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-08-07T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"coppermine-upload-sql-injection(41784)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41784"},{"tags":["x_refsource_CONFIRM"],"url":"http://sourceforge.net/project/shownotes.php?group_id=89658&release_id=592069"},{"name":"28766","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/28766"},{"name":"29795","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/29795"},{"name":"44345","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://www.osvdb.org/44345"},{"tags":["x_refsource_CONFIRM"],"url":"http://forum.coppermine-gallery.net/index.php/topic%2C51787%2C0.html"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2008-1840","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":"SQL injection vulnerability in upload.php in Coppermine Photo Gallery (CPG) 1.4.16 and earlier allows remote authenticated users or user-assisted remote HTTP servers to execute arbitrary SQL commands via the Content-Type HTTP response header provided by the HTTP server that is used for an upload."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"coppermine-upload-sql-injection(41784)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41784"},{"name":"http://sourceforge.net/project/shownotes.php?group_id=89658&release_id=592069","refsource":"CONFIRM","url":"http://sourceforge.net/project/shownotes.php?group_id=89658&release_id=592069"},{"name":"28766","refsource":"BID","url":"http://www.securityfocus.com/bid/28766"},{"name":"29795","refsource":"SECUNIA","url":"http://secunia.com/advisories/29795"},{"name":"44345","refsource":"OSVDB","url":"http://www.osvdb.org/44345"},{"name":"http://forum.coppermine-gallery.net/index.php/topic,51787,0.html","refsource":"CONFIRM","url":"http://forum.coppermine-gallery.net/index.php/topic,51787,0.html"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2008-1840","datePublished":"2008-04-16T17:00:00.000Z","dateReserved":"2008-04-16T00:00:00.000Z","dateUpdated":"2024-08-07T08:40:59.516Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2008-04-16 17:05:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["CWE-89","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","baseScore":6.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":8,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":true,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:coppermine:coppermine_photo_gallery:*:*:*:*:*:*:*:*","versionEndIncluding":"1.4.16","matchCriteriaId":"C0E0C60B-44DD-4E37-A337-FA887D88346A"},{"vulnerable":true,"criteria":"cpe:2.3:a:coppermine:coppermine_photo_gallery:1.4:*:*:*:*:*:*:*","matchCriteriaId":"183F2FD0-A6D4-4F86-98D7-FC7D22443654"},{"vulnerable":true,"criteria":"cpe:2.3:a:coppermine:coppermine_photo_gallery:1.4.1:*:*:*:*:*:*:*","matchCriteriaId":"45C95857-2002-46F1-88AC-CC34F0B943D1"},{"vulnerable":true,"criteria":"cpe:2.3:a:coppermine:coppermine_photo_gallery:1.4.2:*:*:*:*:*:*:*","matchCriteriaId":"EAA317DD-C804-4349-9BDC-B23FAE493516"},{"vulnerable":true,"criteria":"cpe:2.3:a:coppermine:coppermine_photo_gallery:1.4.3:*:*:*:*:*:*:*","matchCriteriaId":"3DFCDB9A-E808-4EC2-A377-CF17C0B6AFF5"},{"vulnerable":true,"criteria":"cpe:2.3:a:coppermine:coppermine_photo_gallery:1.4.4:*:*:*:*:*:*:*","matchCriteriaId":"4D3BB681-16F8-441F-912C-9488791A6420"},{"vulnerable":true,"criteria":"cpe:2.3:a:coppermine:coppermine_photo_gallery:1.4.5:*:*:*:*:*:*:*","matchCriteriaId":"709BC7EC-6EAB-4880-B210-F6E154FF7CB7"},{"vulnerable":true,"criteria":"cpe:2.3:a:coppermine:coppermine_photo_gallery:1.4.6:*:*:*:*:*:*:*","matchCriteriaId":"A5C614B6-4BC6-4F77-8D4E-9EBDC69B396C"},{"vulnerable":true,"criteria":"cpe:2.3:a:coppermine:coppermine_photo_gallery:1.4.7:*:*:*:*:*:*:*","matchCriteriaId":"AC4E2E91-3BDD-4308-A7FB-6C0EB6F3E115"},{"vulnerable":true,"criteria":"cpe:2.3:a:coppermine:coppermine_photo_gallery:1.4.8:*:*:*:*:*:*:*","matchCriteriaId":"492C36B4-FB91-4B29-A3B6-0BFF3EF01A87"},{"vulnerable":true,"criteria":"cpe:2.3:a:coppermine:coppermine_photo_gallery:1.4.9:*:*:*:*:*:*:*","matchCriteriaId":"D7A89B92-8323-4240-80CE-102070202A09"},{"vulnerable":true,"criteria":"cpe:2.3:a:coppermine:coppermine_photo_gallery:1.4.10:*:*:*:*:*:*:*","matchCriteriaId":"F1BCC40D-EF9C-4843-9183-EA725C9C03FA"},{"vulnerable":true,"criteria":"cpe:2.3:a:coppermine:coppermine_photo_gallery:1.4.11:*:*:*:*:*:*:*","matchCriteriaId":"F0D02234-2729-499B-A686-F1F85401FEDF"},{"vulnerable":true,"criteria":"cpe:2.3:a:coppermine:coppermine_photo_gallery:1.4.12:*:*:*:*:*:*:*","matchCriteriaId":"E21C42CB-86B1-4EC1-A508-809316F83CC0"},{"vulnerable":true,"criteria":"cpe:2.3:a:coppermine:coppermine_photo_gallery:1.4.13:*:*:*:*:*:*:*","matchCriteriaId":"F6626384-FA55-4B87-801B-554B9E7EC1F2"},{"vulnerable":true,"criteria":"cpe:2.3:a:coppermine:coppermine_photo_gallery:1.4.14:*:*:*:*:*:*:*","matchCriteriaId":"84687B6F-B1A1-4CE0-A199-40CAF3D293C5"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2008","CveId":"1840","Ordinal":"1","Title":"CVE-2008-1840","CVE":"CVE-2008-1840","Year":"2008"},"notes":[{"CveYear":"2008","CveId":"1840","Ordinal":"1","NoteData":"SQL injection vulnerability in upload.php in Coppermine Photo Gallery (CPG) 1.4.16 and earlier allows remote authenticated users or user-assisted remote HTTP servers to execute arbitrary SQL commands via the Content-Type HTTP response header provided by the HTTP server that is used for an upload.","Type":"Description","Title":"CVE-2008-1840"},{"CveYear":"2008","CveId":"1840","Ordinal":"2","NoteData":"2008-04-16","Type":"Other","Title":"Published"},{"CveYear":"2008","CveId":"1840","Ordinal":"3","NoteData":"2017-08-07","Type":"Other","Title":"Modified"}]}}}