Coppermine Photo Gallery Multiple Input Validation Vulnerabilities

BID:25698

Info

Coppermine Photo Gallery Multiple Input Validation Vulnerabilities

Bugtraq ID: 25698
Class: Input Validation Error
CVE: CVE-2007-4976
Remote: Yes
Local: No
Published: Sep 17 2007 12:00AM
Updated: May 07 2015 05:35PM
Credit: L4teral is credited with discovering these vulnerabilities.
Vulnerable: Coppermine Photo Gallery 1.4.12
Coppermine Photo Gallery 1.4.11
Coppermine Photo Gallery 1.4.10
Coppermine Photo Gallery 1.4.9
Coppermine Photo Gallery 1.4.4
Coppermine Photo Gallery 1.4.2
Coppermine Photo Gallery 1.4
Not Vulnerable: Coppermine Photo Gallery 1.4.13

Discussion

Coppermine Photo Gallery Multiple Input Validation Vulnerabilities

Coppermine Photo Gallery is prone to a cross-site scripting issue and a local file-include issue.

Attackers can exploit these issues to steal cookie-based authentication credentials, execute arbitrary code, and retrieve arbitrary content within the context of the webserver process.

Coppermine Photo Gallery 1.4.12 is vulnerable; other versions may also be affected.

Exploit / POC

Coppermine Photo Gallery Multiple Input Validation Vulnerabilities

To exploit the cross-site scripting issue, an attacker must entice an unsuspecting victim into following a malicious URI. An attacker can exploit the local file-include issue through a browser.

The following proof-of-concept URIs are available:

http://www.example.com/cpg/mode.php?admin_mode=1&referer=javascript:alert(document.cookie)
http://localhost/cpg/viewlog.php?log=../../../../../../../../../etc/passwd%00

Solution / Fix

Coppermine Photo Gallery Multiple Input Validation Vulnerabilities

Solution:
The vendor released an update to address these issues. Please see the references for more information.


Coppermine Photo Gallery 1.4

Coppermine Photo Gallery 1.4.10

Coppermine Photo Gallery 1.4.11

Coppermine Photo Gallery 1.4.12

Coppermine Photo Gallery 1.4.2

Coppermine Photo Gallery 1.4.4

Coppermine Photo Gallery 1.4.9

References

Coppermine Photo Gallery Multiple Input Validation Vulnerabilities

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report