CVE-2008-3481: Information Disclosure in Coppermine Photo Gallery theme.php
- Vendor
- Coppermine-Gallery
A vulnerability in themes/sample/theme.php in Coppermine Photo Gallery (CPG) 1.4.18 and earlier allows remote attackers to obtain sensitive information by directly requesting the file, which results in an error message that discloses the installation path.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker can obtain the full installation path of the Coppermine Photo Gallery application on the server, which can aid in further attacks such as path traversal, local file inclusion, or other exploitation techniques that require knowledge of the filesystem structure.
Mitigation
If you can’t patch tonight, do this now.
Restrict direct web access to theme.php and other sample or development files using web server configuration (e.g., .htaccess rules or equivalent). Ensure error messages do not disclose sensitive information such as installation paths.
Remediation
Patch, then assume compromise.
Upgrade to a version of Coppermine Photo Gallery later than 1.4.18 where this information disclosure issue is resolved. Alternatively, remove or restrict access to the sample theme.php file if it is not required.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2008-3481 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2008-3481 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2008-3481?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2008-3481. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2008-3481?
- Upgrade to a version of Coppermine Photo Gallery later than 1.4.18 where this information disclosure issue is resolved. Alternatively, remove or restrict access to the sample theme.php file if it is not required.
- What products are affected by CVE-2008-3481?
- Coppermine-Gallery Coppermine Photo Gallery.
- How severe is CVE-2008-3481?
- CVE-2008-3481 has a CVSS v2 score of 7.5 (High) and an EPSS score of 2.1% (82nd percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.