Information Disclosure in Coppermine Photo Gallery theme.php
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.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
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.
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.
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.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.