Simple Web Content Management System Multiple Vulnerabilities


Description   Multiple vulnerabilities have been discovered in Simple Web Content Management System, which can be exploited by malicious people to bypass certain security restrictions and conduct SQL injection attacks.
1) The application does not properly restrict access to admin/item_delete.php, which can be exploited to delete items from the database.
2) Input passed via the "id" parameter to admin/item_delete.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
3) Input passed via the "id" and "status" parameters to admin/item_status.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
The vulnerabilities are confirmed in the version downloaded on 2012-06-01. Other versions may also be affected.
     
Vulnerable Products   Vulnerable Software:
Simple Web Content Management System
     
Solution   Edit the source code to ensure that input is properly sanitised. Restrict access to admin/item_delete.php (e.g. via .htaccess).
     
CVE  
     
References   AutoSec Tools:
http://www.autosectools.com/Advisories/Simple.Web.Content.Management.System.1.21_Authentication.Bypass-SQL.Injection_97.html
loneferret:
http://www.exploit-db.com/exploits/18955/
     
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 - GET : suspicious combination of 'OR' or 'AND' statements in URL
3.2.0
SQL injection Prevention - GET : suspicious CREATE statement in URL
3.2.0
SQL injection Prevention - GET : suspicious CAST statement in URL
3.2.0
SQL injection Prevention - GET : suspicious OPENROWSET statement in URL
3.2.0
SQL injection Prevention - GET : suspicious DECLARE statement in URL
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 - GET : possible database version probing
3.2.0
SQL injection Prevention - GET : suspicious UPDATE SET statement in URL
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 - GET : suspicious EXEC statement in URL
3.2.0
SQL injection Prevention - GET : block comment delimiters in URL
3.2.0
SQL injection Prevention - GET : suspicious SQL statement in header
4.0.0
     


 
 
 
 
 Risk level 
Moderate 

 Vulnerability First Public Report Date 
2011-02-01 

 Target Type 
Server 

 Possible exploit 
Remote