WHMCompleteSolution "templatefile" Local File Inclusion Vulnerability


Description   A vulnerability has been reported in WHMCompleteSolution, which can be exploited by malicious people to disclose potentially sensitive information.
Input passed to the "templatefile" parameter in cart.php (when "a" is set to e.g. "test") is not properly verified before being used to include files. This can be exploited to disclose the contents of arbitrary files via directory traversal attacks and URL-encoded NULL bytes.
     
Vulnerable Products   Vulnerable Software:
WHMCompleteSolution 4.x
     
Solution   Apply patch. http://www.whmcs.com/go/21/download
     
CVE   CVE-2011-4810
     
References   Lagripe-Dz:
http://www.exploit-db.com/exploits/17999/
WHMCompleteSolution Patch Announcement:
http://forum.whmcs.com/showthread.php?t=42121
     
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
Escaped NULL char in URL
3.2.0
Misc : Local File Inclusion - suspicious /etc/passwd found in URL
3.5.0
     


 
 
 
 
 Risk level 
Moderate 

 Vulnerability First Public Report Date 
2011-10-21 

 Target Type 
Server 

 Possible exploit 
Remote