Coppermine Photo Gallery mode.php cross-site scripting
| coppermine-mode-xss (36659) |
Description:
Coppermine Photo Gallery is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by the mode.php script. An authenticated remote attacker could exploit this vulnerability using the referer parameter in a specially-crafted URL to execute script in a victim's Web browser within the security context of the hosting Web site, once the URL is clicked. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.
*CVSS:
| Base Score: | 3.5 |
| Access Vector: | Network |
| Access Complexity: | Medium |
| Authentication: | Single |
| Confidentiality Impact: | None |
| Integrity Impact: | Partial |
| Availability Impact: | None |
| Temporal Score: | 3 |
| Exploitability: | High |
| 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-4977: Cross-site scripting (XSS) vulnerability in mode.php in Coppermine Photo Gallery (CPG) 1.4.12 and earlier allows remote attackers to inject arbitrary web script or HTML via the referer 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:
- Grégory Demar Coppermine Photo Gallery 1.4.12 and prior
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.
