Coppermine Photo Gallery viewlog.php file include

coppermine-viewlog-file-include (36660) The risk level is classified as MediumMedium Risk

Description:

Coppermine Photo Gallery could allow a remote attacker to include arbitrary files. An authenticated remote attacker could send a specially-crafted URL request to the viewlog.php script using the log parameter to specify a malicious file from the local system, which could allow the attacker to obtain sensitive information or execute arbitrary code on the vulnerable Web server.

Note: In order to exploit this vulnerability to execute arbitrary code, the attacker would first be required to upload a malicious file or inject arbitrary commands into an existing file.

Platforms Affected:

  • Grégory Demar, Coppermine Photo Gallery 1.4.12 and prior

Remedy:

Upgrade to the latest version of Coppermine Photo Gallery (1.4.13 or later), available from the Coppermine Photo Gallery Web site. See References.

Consequences:

Gain Access

References:

  • BugTraq Mailing List, Mon Sep 17 2007 - 15:31:13 CDT, Coppermine <= 1.4.12 Cross Site Scripting and Local File Inclusion at http://archives.neohapsis.com/archives/bugtraq/2007-09/0175.html.
  • Coppermine Photo Gallery Web site, Coppermine Photo Gallery at http://coppermine-gallery.net/.
  • BID-25698: Coppermine Photo Gallery Multiple Input Validation Vulnerabilities
  • CVE-2007-4976: Directory traversal vulnerability in viewlog.php in Coppermine Photo Gallery (CPG) 1.4.12 and earlier allows remote authenticated administrators to include and execute arbitrary local files via a .. (dot dot) in the log parameter.
  • FrSIRT/ADV-2007-3194: Coppermine Photo Gallery Cross Site Scripting and Local File Inclusion Issues
  • SA26843: Coppermine Photo Gallery Cross-Site Scripting and Local File Inclusion
  • SECTRACK ID: 1018704: Coppermine Photo Gallery Input Validation Holes in `viewlog.php` and `mode.php` Permit Cross-Site Scripting Attacks

Reported:

Sep 17, 2007

The information within this database may change without notice. 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. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page