Moa Gallery Remote File Inclusion and File Disclosure Vulnerabilities


Description   Multiple vulnerabilities have been identified in Moa Gallery, which could be exploited by remote attackers to disclose sensitive information or compromise a vulnerable web server.
The first issue is caused by input validation errors in various scripts within the "sources" directory (e.g. "sources/_error_funcs.php") when processing the "MOA_PATH" parameter, which could be exploited by remote attackers to include malicious PHP scripts and execute arbitrary commands with the privileges of the web server.
The second vulnerability is caused by an input validation error in the "sources/_template_parser.php" script when processing the "p_filename" parameter, which could allow attackers to download arbitrary files via a directory traversal.
     
Vulnerable Products   Vulnerable Software:
Moa Gallery version 1.2.0 and prior
     
Solution  
     
CVE   CVE-2009-4627
CVE-2009-4614
     
References   http://milw0rm.com/exploits/9522
http://milw0rm.com/exploits/9525
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
Misc : Directory traversal - parameter starting with ../
3.2.0
PHP : Remote file inclusion prevention : suspicious root_path parameter found in URL
3.2.0
Directory traversal using ..\..
3.2.0
Directory traversal
3.2.0
PHP : Remote file inclusion prevention : URL found as parameter
3.2.0
Directory traversal backward root folder
3.2.0
Misc : Local File Inclusion - suspicious /etc/passwd found in URL
3.5.0
     


 
 
 
 
 Risk level 
High 

 Vulnerability First Public Report Date 
2009-08-27 

 Target Type 
Server 

 Possible exploit 
Local & Remote