HTB22915: Path disclosure in Joomla

2011-04-11T00:00:00
ID SECURITYVULNS:DOC:26080
Type securityvulns
Reporter Securityvulns
Modified 2011-04-11T00:00:00

Description

Vulnerability ID: HTB22915 Reference: http://www.htbridge.ch/advisory/path_disclosure_in_joomla.html Product: Joomla Vendor: http://www.joomla.org/ ( http://www.joomla.org/ ) Vulnerable Version: 1.6.1 Vendor Notification: 24 March 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 "/libraries/phpmailer/language/phpmailer.lang-joomla.php" script, 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/libraries/phpmailer/language/phpmailer.lang-joomla.php

Result:

Fatal error: Class 'JText' not found in /path/joomla/libraries/phpmailer/language/phpmailer.lang-joomla.php on line 9