Total Tests:

Multiple Vulnerabilities in Horizon QCMS

Advisory ID:HTB23191
Product:Horizon QCMS
Vendor:Horizon QCMS
Vulnerable Versions:4.0 and probably prior
Tested Version:4.0
Advisory Publication:December 18, 2013 [without technical details]
Vendor Notification:December 18, 2013
Vendor Fix:December 25, 2013
Public Disclosure:January 8, 2014
Latest Update:December 27, 2013
Vulnerability Type:Path Traversal [CWE-22]
SQL Injection [CWE-89]
CVE References:CVE-2013-7138
CVE-2013-7139
Risk Level:High
CVSSv2 Base Scores:5 (AV:N/AC:L/Au:N/C:P/I:N/A:N)
7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge Security Research Lab discovered multiple vulnerabilities in Horizon QCMS, which can be exploited to read contents of arbitrary files and perform SQL Injection attacks.

1) Path Traversal in Horizon QCMS: CVE-2013-7138
The vulnerability exists due to insufficient filtration of "start" HTTP GET parameter passed to "/lib/functions/d-load.php" script before using it in PHP "fopen()" function. A remote attacker can read contents of arbitrary files on the target system with privileges of the web server.
The exploitation example below will display content of "/config.php" file that contains MySQL database login credentials:
http://[host]/lib/functions/d-load.php?start=../../config.php

2) SQL Injection in Horizon QCMS: CVE-2013-7139
The vulnerability exists due to insufficient validation of "category" HTTP POST parameter passed to "/download.php" script. A remote unauthenticated attacker can execute arbitrary SQL commands in application's database.
The exploitation example below displays version of MySQL server:
http://[host]/download.php?category=%27%20union%20select%201,2,version(),4,5 ,6%20--%202

How to Detect Path Traversal Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Apply security patch for Horizon 4.0

More Information:
http://sourceforge.net/projects/hnqcms/files/patches/


References:
[1] High-Tech Bridge Advisory HTB23191 - https://www.immuniweb.com/advisory/HTB23191 - Multiple vulnerabilities in Horizon QCMS.
[2] Horizon QCMS - http://www.hnqcms.com/ - An open source Horizon Quick Content Managment System with PHP and MySQL support.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
[5] ImmuniWeb® - Leveraging the power of machine-learning and genius of human brain to deliver the most advanced web application security and penetration testing.
[6] ImmuniWeb® SSLScan - Test your servers for security and compliance with PCI DSS, HIPAA and NIST.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a Technical Question?

Our security experts will answer within
one business day. No obligations.

Have a Sales Question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
*
Your data will stay private and confidential