CVE-2007-4977

Coppermine Photo Gallery - Cross-Site Scripting via Referer Parameter

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2007-4977. PoCs published by L4teral.

AI-analyzed exploit summary The provided text describes a cross-site scripting (XSS) and local file inclusion (LFI) vulnerability in Coppermine Photo Gallery 1.4.12. It includes a proof-of-concept URL demonstrating the XSS issue but lacks executable exploit code.

Description

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.

Exploits (1)

exploitdb WRITEUP VERIFIED
by L4teral · textwebappsphp
https://www.exploit-db.com/exploits/30594

The provided text describes a cross-site scripting (XSS) and local file inclusion (LFI) vulnerability in Coppermine Photo Gallery 1.4.12. It includes a proof-of-concept URL demonstrating the XSS issue but lacks executable exploit code.

Classification
Writeup 90%
Attack Type
Xss
Complexity
Trivial
Reliability
Theoretical
Target: Coppermine Photo Gallery 1.4.12
No auth needed
Prerequisites: Access to the vulnerable Coppermine Photo Gallery instance
MITRE ATT&CK
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (9)

Core 9
Core References
Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/3152
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/479757/100/0/threaded
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/37100
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id?1018704
Patch third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26843
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/36659
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/3194
Exploit, Patch vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/25698

Scores

EPSS 0.0338
EPSS Percentile 87.2%

Details

CWE
CWE-79
Status published
Products (7)
coppermine/coppermine_photo_gallery 1.4
coppermine/coppermine_photo_gallery 1.4.2
coppermine/coppermine_photo_gallery 1.4.4
coppermine/coppermine_photo_gallery 1.4.9
coppermine/coppermine_photo_gallery 1.4.10
coppermine/coppermine_photo_gallery 1.4.11
coppermine/coppermine_photo_gallery 1.4.12
Published Sep 19, 2007
Tracked Since Feb 18, 2026