PHPKIT Remote SQL Injection and Command Execution Vulnerabilities


Description   Multiple vulnerabilities were identified in PHPKIT, which could be exploited by malicious users to execute arbitrary commands, disclose sensitive information, or conduct directory traversal, cross site scripting and SQL injection attacks.
The first issue is due to input validation errors in the "login/profile.php", "login/userinfo.php", "admin/admin.php", "imcenter.php", "statistics", "forum" and "Guestbook" scripts when processing specially crafted parameters, which may be exploited by attackers to cause arbitrary scripting code to be executed by the user's browser.
The second flaw is due to input validation errors in the "login/userinfo.php" and "include.php" scripts that do not properly filter specially crafted "id" and "PHPKITSID" parameters, which may be exploited by malicious users to conduct SQL injection attacks.
The third vulnerability is due to an input validation error when processing a specially crafted "path" variable, which may be exploited by attackers to disclose the contents of arbitrary files on the local disk.
The fourth flaw is due to multiple errors in the template engine that does not properly validate certain parameters before calling the "eval()" statement, which could be exploited by remote attackers to execute arbitrary PHP commands with the privileges of the web server.
     
Vulnerable Products   Vulnerable Software:
PHPKIT version 1.6.1 Release 2 and prior
     
Solution  
     
CVE   CVE-2005-4424
CVE-2005-3554
CVE-2005-3553
CVE-2005-3552
     
References   http://www.frsirt.com/english/reference/462
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
SQL injection Prevention - GET : suspicious OR statement in URL
3.2.0
SQL injection Prevention - POST : suspicious SELECT statement in data
3.2.0
SQL injection Prevention - GET : suspicious combination of 'OR' or 'AND' statements in URL
3.2.0
SQL injection Prevention - POST : possible version probing in data
3.2.0
SQL injection Prevention - GET : suspicious CREATE statement in URL
3.2.0
SQL injection Prevention - GET : suspicious OPENROWSET statement in URL
3.2.0
SQL injection Prevention - POST : suspicious OPENQUERY statement in data
3.2.0
SQL injection Prevention - POST : suspicious CREATE statement in data
3.2.0
SQL injection Prevention - POST : suspicious UPDATE statement in data
3.2.0
SQL injection Prevention - POST : suspicious UNION statement in data
3.2.0
SQL injection Prevention - GET : suspicious OPENQUERY statement in URL
3.2.0
SQL injection Prevention - GET : suspicious shutdown statement in URL
3.2.0
SQL injection Prevention - GET : suspicious UNION SELECT statement in URL
3.2.0
SQL injection Prevention - POST : suspicious DROP statement in data
3.2.0
SQL injection Prevention - GET : possible database version probing
3.2.0
SQL injection Prevention - POST : suspicious INSERT statement in data
3.2.0
SQL injection Prevention - POST : suspicious OR statement in data
3.2.0
SQL injection Prevention - GET : suspicious UPDATE SET statement in URL
3.2.0
SQL injection Prevention - POST : suspicious EXEC statement in data
3.2.0
SQL injection Prevention - GET : suspicious SELECT statement in URL
3.2.0
SQL injection Prevention - GET : suspicious INSERT statement in URL
3.2.0
SQL injection Prevention - GET : suspicious DROP statement in URL
3.2.0
SQL injection Prevention - POST : suspicious OPENROWSET statement in data
3.2.0
SQL injection Prevention - GET : suspicious EXEC statement in URL
3.2.0
SQL injection Prevention - POST : suspicious HAVING statement in data
3.2.0
     


 
 
 
 
 Risk level 
High 

 Vulnerability First Public Report Date 
2005-11-08 

 Target Type 
Server 

 Possible exploit 
Local & Remote