CWE
89
Advisory Published
Updated

CVE-2008-1840: SQL Injection

First published: Wed Apr 16 2008(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Coppermine Photo Gallery<=1.4.16
Coppermine Photo Gallery=1.4
Coppermine Photo Gallery=1.4.1
Coppermine Photo Gallery=1.4.2
Coppermine Photo Gallery=1.4.3
Coppermine Photo Gallery=1.4.4
Coppermine Photo Gallery=1.4.5
Coppermine Photo Gallery=1.4.6
Coppermine Photo Gallery=1.4.7
Coppermine Photo Gallery=1.4.8
Coppermine Photo Gallery=1.4.9
Coppermine Photo Gallery=1.4.10
Coppermine Photo Gallery=1.4.11
Coppermine Photo Gallery=1.4.12
Coppermine Photo Gallery=1.4.13
Coppermine Photo Gallery=1.4.14

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2008-1840?

    CVE-2008-1840 has a medium severity rating due to its potential for SQL injection.

  • How do I fix CVE-2008-1840?

    To fix CVE-2008-1840, upgrade to Coppermine Photo Gallery version 1.4.17 or later.

  • Who is affected by CVE-2008-1840?

    Remote authenticated users and user-assisted remote HTTP servers are affected by CVE-2008-1840.

  • What does CVE-2008-1840 exploit?

    CVE-2008-1840 exploits SQL injection vulnerabilities in the upload.php file of affected versions of Coppermine Photo Gallery.

  • What versions of Coppermine Photo Gallery are vulnerable to CVE-2008-1840?

    Coppermine Photo Gallery versions 1.4.16 and earlier are vulnerable to CVE-2008-1840.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203