Coppermine Photo Gallery up to 1.4.9 mode.php referer cross site scripting

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
3.3$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 3.5
VulDB Meta Temp Score: 3.3

VulDB Base Score: 3.5
VulDB Temp Score: 3.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Cross site scripting
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

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 Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

09/17/2007 🔍
09/17/2007 +0 days 🔍
09/17/2007 +0 days 🔍
09/18/2007 +1 days 🔍
09/18/2007 +0 days 🔍
09/18/2007 +0 days 🔍
09/19/2007 +0 days 🔍
09/19/2007 +0 days 🔍
10/28/2010 +1135 days 🔍
03/16/2015 +1600 days 🔍
07/19/2025 +3778 days 🔍

Sourcesinfo

Vendor: coppermine-gallery.net

Advisory: 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: 🔍

Entryinfo

Created: 03/16/2015 12:18
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!