ZeroCMS Multiple Vulnerabilities


Description   Multiple vulnerabilities have been discovered in ZeroCMS, which can be exploited by malicious users to bypass certain security restrictions and by malicious people to conduct cross-site scripting, script insertion, and SQL injection attacks.
1) Input passed via the "article_id" GET parameter to zero_view_article.php is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Note: This further can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
2) The application does not properly restrict access to zero_transact_user.php script, which can be exploited to access otherwise restricted operations and subsequently gain escalated privileges.
3) Input passed via the "article_id" GET parameter to zero_transact_article.php is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
4) Input passed via the "name" POST parameter to zero_transact_user.php when creating an account is not properly sanitised before being used. This can be exploited to insert arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site when the malicious data is being viewed.
The vulnerabilities are confirmed in version 1.0. Other versions may also be affected.
     
Vulnerable Products   Vulnerable Software:
ZeroCMS 1.x
     
Solution   No official solution is currently available.
     
CVE   CVE-2014-4710
CVE-2014-4195
CVE-2014-4194
     
References   ZSL-2014-5186:
http://www.zeroscience.mk/en/vulnerabilities/ZSL-2014-5186.php
Tiago Carvalho:
http://www.exploit-db.com/exploits/33743/
Filippos Mastrogiannis:
http://packetstormsecurity.com/files/127164/ZeroCMS-1.0-SQL-Injection.htm
http://packetstormsecurity.com/files/127262/ZeroCMS-1.0-Cross-Site-Scripting.html
Mayuresh Dani:
https://community.qualys.com/blogs/securitylabs/2014/07/24/yet-another-zerocms-cross-site-scripting-vulnerability-cve-2014-4710
     
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
SQL injection Prevention - GET : Authentication bypass attempt with OR statement
5.0.0
     


 
 
 
 
 Risk level 
Moderate 

 Vulnerability First Public Report Date 
2014-06-11 

 Target Type 
Server 

 Possible exploit 
Remote