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