Horizon QCMS File Disclosure and SQL Injection Vulnerabilities


Description   High-Tech Bridge SA has reported two vulnerabilities in Horizon Quick CMS, which can be exploited by malicious people to disclose sensitive information and conduct SQL injection attacks.
1) Input passed via the "start" parameter to /lib/functions/d-load.php is not properly verified before being used to read files. This can be exploited to disclose the contents of arbitrary files via directory traversal sequences.
2) Input passed via the "category" parameter to download.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 version 3.5.2 and reported in version 4.0. Other versions may also be affected.
     
Vulnerable Products   Vulnerable Software:
Horizon Quick CMS 3.xHorizon Quick CMS 4.x
     
Solution   Upgrade to version 4.1.
     
CVE   CVE-2013-7139
CVE-2013-7138
     
References   High-Tech Bridge SA:
https://www.htbridge.com/advisory/HTB23191
     
Vulnerability Manager Detection   No
     
IPS Protection  
ASQ Engine alarm Available Since
Misc : Directory traversal - parameter starting with ../
3.2.0
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
Directory traversal using ..\..
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
Directory traversal
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
Directory traversal backward root folder
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-01-20 

 Target Type 
Server 

 Possible exploit 
Remote