e107 Image Gallery Plugin "name" File Download Vulnerability


Description   Sammy Forgit has discovered a vulnerability in the Image Gallery plugin for e107, which can be exploited by malicious people to disclose sensitive information.
Input passed to the "name" parameter in e107_plugins/image_gallery/viewImage.php is not properly verified before being used to download files. This can be exploited to disclose the contents of arbitrary files via directory traversal attacks.
The vulnerability is confirmed in version 0.9.7.1. Other versions may also be affected.
     
Vulnerable Products   Vulnerable Software:
Image Gallery 0.x (plugin for e107)
     
Solution   Edit the source code to ensure that input is properly verified.
     
CVE  
     
References   OpenSysCom:
http://www.opensyscom.fr/Actualites/e107-plugins-image-gallery-remote-file-disclosure-vulnerability.html
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
Misc : Directory traversal - parameter starting with ../
3.2.0
Directory traversal using ..\..
3.2.0
Directory traversal
3.2.0
Directory traversal backward root folder
3.2.0
     


 
 
 
 
 Risk level 
Moderate 

 Vulnerability First Public Report Date 
2012-06-20 

 Target Type 
Server 

 Possible exploit 
Remote