Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
3.5
CVE-2007-4977: Coppermine Photo Gallery allows attackers to run scripts via referer
CVE-2007-4977 · published 19 years ago
Summary
The Coppermine Photo Gallery (version 1.4.12 and earlier) can be tricked into executing unwanted web code when a specially crafted referer header is sent. This could let an attacker show false information, steal user data, or perform actions on behalf of visitors. Update the gallery to the latest version or apply the vendor’s patch to block the malicious referer input.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| coppermine | coppermine_photo_gallery |
1.4 1.4.2 1.4.4 1.4.9 1.4.10 1.4.11 1.4.12 cpe:2.3:a:coppermine:coppermine_photo_gallery:1.4:*:*:*:*:*:*:* |
Original advisory text
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.
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.
References
- http://coppermine-gallery.net/forum/index.php?topic=46847.0 Patch
- http://osvdb.org/37100
- http://secunia.com/advisories/26843 Patch
- http://securityreason.com/securityalert/3152
- http://www.securityfocus.com/archive/1/479757/100/0/threaded
- http://www.securityfocus.com/bid/25698 Exploit Patch
- http://www.securitytracker.com/id?1018704
- http://www.vupen.com/english/advisories/2007/3194
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36659
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker partial control (estimated)
Severity
3.5
Low
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published19 Sep 2007
Updated4 Nov 2026
First seen29 Sep 2026
Sources
CVE-2007-4977 · NVD
Track software like this
Free during beta