Coppermine Photo Gallery viewlog.php file include
| coppermine-viewlog-file-include (36660) |
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.
*CVSS:
| Base Score: | 6.5 |
| Access Vector: | Network |
| Access Complexity: | Low |
| Authentication: | Single |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 4.8 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Access
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.
References:
- BugTraq Mailing List, Mon Sep 17 2007 - 15:31:13 CDT: Coppermine <= 1.4.12 Cross Site Scripting and Local File Inclusion.
- Coppermine Photo Gallery Web site: Coppermine Photo Gallery.
- 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.
- 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
- VUPEN/ADV-2007-3194: Coppermine Photo Gallery Cross Site Scripting and Local File Inclusion Issues
Platforms Affected:
- Gregory Demar Coppermine Photo Gallery 1.4.12
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 (IBM 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.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
