Bugtraq mailing list archives

HTB22915: Path disclosure in Joomla


From: advisory () htbridge ch
Date: Thu, 7 Apr 2011 14:44:06 +0200 (CEST)

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




Current thread: