CVE-2008-1840 SQL injection in n/a
Authenticated users can execute arbitrary SQL commands via a crafted HTTP response header during file uploads in Coppermine Photo Gallery.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2008-1840?
CVE-2008-1840 is a medium-severity SQL injection vulnerability in n/a, published on 16 Apr 2008. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-89
Which versions are affected by CVE-2008-1840?
It affects 1 product.
Products include Coppermine Coppermine Photo Gallery.
How do I fix CVE-2008-1840?
No fix has been published for CVE-2008-1840 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2008-1840 being exploited?
There is no known exploitation of CVE-2008-1840 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-vxj3-6c9j-vg4h.