SQL injection in Coppermine Photo Gallery



Published: 2008-04-11 | Updated: 2017-03-21
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2008-1840
CWE-ID CWE-89
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Coppermine Photo Gallery
Web applications / CMS

Vendor Coppermine Photo Gallery

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) SQL injection

EUVDB-ID: #VU6132

Risk: High

CVSSv3.1: 6.4 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2008-1840

CWE-ID: CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary SQL commands in web application database.

The vulnerability exists due to insufficient sanitization of user-supplied data passed via cookies to "coppermine.upload.php" script. A remote attacker can send a specially crafted HTTP request to vulnerable script during URI/URL uploads and execute arbitrary SQL queries in backend database.

Successful exploitation of the vulnerability may result in website compromise.

Mitigation

Upgrade to the latest version of Coppermine Photo Gallery (1.4.17 or later).
https://sourceforge.net/projects/coppermine/files/

Vulnerable software versions

Coppermine Photo Gallery: 1.2.0 - 1.4.16

External links

http://exchange.xforce.ibmcloud.com/vulnerabilities/41784


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###