NextGEN Gallery WordPress plugin version 1.7.3 suffers from a path disclosure vulnerability.
849178db2d3230a35c8d60183e3360e457fc00639e7e2251b87cf8cb6dea4ab1
Vulnerability ID: HTB22862
Reference: http://www.htbridge.ch/advisory/path_disclosure_in_nextgen_gallery_wordpress_plugin.html
Product: NextGEN Gallery wordpress plugin
Vendor: Alex Rabe ( http://alexrabe.de/ )
Vulnerable Version: 1.7.3
Vendor Notification: 15 February 2011
Vulnerability Type: Path disclosure
Status: Fixed by Vendor
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 "/wp-content/plugins/nextgen-gallery/xml/ajax.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]/wp-content/plugins/nextgen-gallery/xml/ajax.php?galleryid=1&p=1&type=browser
http://[host]/wp-content/plugins/nextgen-gallery/xml/ajax.php?galleryid=1&p=1&type=gallery
Solution: Upgrade to the most recent version