Coppermine Photo Gallery up to 1.4.9 mode.php referer cross site scripting
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 3.3 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as problematic has been discovered in Coppermine Photo Gallery up to 1.4.9. This impacts an unknown function of the file mode.php. Executing a manipulation of the argument referer can lead to cross site scripting. This vulnerability is tracked as CVE-2007-4977. The attack can be launched remotely. Moreover, an exploit is present.
Details
A vulnerability classified as problematic was found in Coppermine Photo Gallery up to 1.4.9 (Photo Gallery Software). This vulnerability affects an unknown functionality of the file mode.php. The manipulation of the argument referer with an unknown input leads to a cross site scripting vulnerability. The CWE definition for the vulnerability is CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. As an impact it is known to affect integrity. CVE summarizes:
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.
The weakness was disclosed 09/18/2007 by L4teral (Website). The advisory is shared for download at coppermine-gallery.net. This vulnerability was named CVE-2007-4977 since 09/19/2007. The attack can be initiated remotely. The successful exploitation needs a single authentication. Successful exploitation requires user interaction by the victim. Technical details and also a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1059.007.
It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. By approaching the search of inurl:mode.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 26084 (FreeBSD : coppermine -- multiple vulnerabilities (12488805-6773-11dc-8be8-02e0185f8d72)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the databases at X-Force (36659), Exploit-DB (30594), Tenable (26084), SecurityFocus (BID 25698†) and OSVDB (37100†). The entries VDB-3314 and VDB-3313 are pretty similar. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://coppermine-gallery.net/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 3.5VulDB Meta Temp Score: 3.3
VulDB Base Score: 3.5
VulDB Temp Score: 3.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Cross site scriptingCWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
Google Hack: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 26084
Nessus Name: FreeBSD : coppermine -- multiple vulnerabilities (12488805-6773-11dc-8be8-02e0185f8d72)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
OpenVAS ID: 58796
OpenVAS Name: FreeBSD Ports: coppermine
OpenVAS File: 🔍
OpenVAS Family: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
09/17/2007 🔍09/17/2007 🔍
09/17/2007 🔍
09/18/2007 🔍
09/18/2007 🔍
09/18/2007 🔍
09/19/2007 🔍
09/19/2007 🔍
10/28/2010 🔍
03/16/2015 🔍
07/19/2025 🔍
Sources
Vendor: coppermine-gallery.netAdvisory: coppermine-gallery.net
Researcher: L4teral
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2007-4977 (🔍)
GCVE (CVE): GCVE-0-2007-4977
GCVE (VulDB): GCVE-100-38872
X-Force: 36659
SecurityFocus: 25698 - Coppermine Photo Gallery Multiple Input Validation Vulnerabilities
Secunia: 26843 - Coppermine Photo Gallery Cross-Site Scripting and Local File Inclusion, Less Critical
OSVDB: 37100 - Coppermine Photo Gallery mode.php referer Parameter XSS
SecurityTracker: 1018704 - Coppermine Photo Gallery Input Validation Holes in 'viewlog.php' and 'mode.php' Permit Cross-Site Scripting Attacks
Vulnerability Center: 27942 - mode.php in Coppermine Photo Gallery 1.4.12 and Earlier Cross Site Scripting Vulnerability, Medium
Vupen: ADV-2007-3194
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/16/2015 12:18Updated: 07/19/2025 18:09
Changes: 03/16/2015 12:18 (65), 03/08/2017 21:25 (18), 07/21/2021 22:23 (3), 07/19/2025 18:09 (18)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.