Pixelpost Multiple SQL Injection and Cross Site Scripting Vulnerabilities


Description   Multiple vulnerabilities have been identified in Pixelpost, which could be exploited by remote attackers to execute arbitrary commands or scripting code.
The first flaw is due to an input validation error in the "index.php" script that does not properly validate the "showimage" variable before being used in SQL statements, which could be exploited by malicious people to conduct SQL injection attacks and gain unauthorized access to the administration interface where they can upload malicious scripts and execute arbitrary commands with the privileges of the web server.
The second flaw is due to errors in the "includes/functions.php" file that does not validate the "HTTP_USER_AGENT", "HTTP_REFERER" and "HTTP_HOST" headers before being used in SQL statements, which could be exploited by malicious people to conduct SQL injection attacks.
The third vulnerability is due to an input validation error in the "clean()" [includes/functions.php] function that does not properly sanitise certain HTML tags included in comments, which could be exploited by attackers to cause arbitrary scripting code to be executed by the user's browser when a malicious comment is viewed.
Note : Attackers can obtain system information returned by the "phpinfo()" function by accessing the "includes/phpinfo.php" script, which could aid them in further attacks.
     
Vulnerable Products   Vulnerable Software:
Pixelpost version 1.4.3 and priorPixelpost version 1.5-beta and prior
     
Solution   Upgrade to version 1.5 : http://www.pixelpost.org/
     
CVE   CVE-2006-1106
CVE-2006-1105
CVE-2006-1104
     
References   http://www.frsirt.com/english/reference/6879
     
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 
2006-03-05 

 Target Type 
Server 

 Possible exploit 
Local & Remote