CVE-2007-4976

Coppermine Photo Gallery - Authenticated Path Traversal via viewlog.php log Parameter

Title source: llm
STIX 2.1

Exploitation Summary

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

AI-analyzed exploit summary The exploit demonstrates a local file inclusion (LFI) vulnerability in Coppermine Photo Gallery, allowing attackers to read arbitrary files (e.g., /etc/passwd) via path traversal. The PoC is a simple URL-based attack with no additional payload.

Description

Directory traversal vulnerability in viewlog.php in Coppermine Photo Gallery (CPG) 1.4.12 and earlier allows remote authenticated administrators to include and execute arbitrary local files via a .. (dot dot) in the log parameter.

Exploits (1)

exploitdb WORKING POC VERIFIED
by L4teral · textwebappsphp
https://www.exploit-db.com/exploits/30595

The exploit demonstrates a local file inclusion (LFI) vulnerability in Coppermine Photo Gallery, allowing attackers to read arbitrary files (e.g., /etc/passwd) via path traversal. The PoC is a simple URL-based attack with no additional payload.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Coppermine Photo Gallery 1.4.12
No auth needed
Prerequisites: Access to the target web application
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_sectrack
http://www.securitytracker.com/id?1018704
Patch, Vendor Advisory 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/36660
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/3194
Patch vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/25698
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/37101

Scores

EPSS 0.0876
EPSS Percentile 94.5%

Details

CWE
CWE-22
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