HTB22862: Path disclosure in NextGEN Gallery wordpress plugin

Type securityvulns
Reporter Securityvulns
Modified 2011-03-01T00:00:00


Vulnerability ID: HTB22862 Reference: Product: NextGEN Gallery wordpress plugin Vendor: Alex Rabe ( ) 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 (

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