Coppermine version 1.5.12 suffers from a path disclosure vulnerability.
83db463dc2d27d98f18acf8674a0e5391a1376a10dd4144c295a581442bbe405
Vulnerability ID: HTB22836
Reference: http://www.htbridge.ch/advisory/path_disclosure_in_coppermine.html
Product: Coppermine
Vendor: The Coppermine Dev Team ( http://coppermine-gallery.net/ )
Vulnerable Version: 1.5.12 and probably prior versions
Vendor Notification: 03 February 2011
Vulnerability Type: Path disclosure
Risk level: Low
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)
Vulnerability Details:
The vulnerability exists due to failure in the "plugins/link_target/configuration.php", "plugins/opensearch/configuration.php", "plugins/onlinestats/index.php" scripts, it's possible to generate an error that will reveal the full path of the script.
A remote user can determine the full path to the web root directory and other potentially sensitive information.
The following PoC is available:
http://host/plugins/link_target/configuration.php
http://host/plugins/opensearch/configuration.php
http://host/plugins/onlinestats/index.php