CubeCart 5.x | Cross Site Request Forgery (CSRF) Vulnerability

2013-01-02T00:00:00
ID SECURITYVULNS:DOC:28883
Type securityvulns
Reporter Securityvulns
Modified 2013-01-02T00:00:00

Description

  1. OVERVIEW

CubeCart 5.x versions are vulnerable to Cross Site Request Forgery (CSRF).

  1. 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.

  1. VULNERABILITY DESCRIPTION

CubeCart 5.x 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.

  1. VERSIONS AFFECTED

5.x

  1. Proof-of-Concept

http://localhost/admin.php?_g=documents&node=index&delete=1 (Delete file in Site Documents) http://localhost/admin.php?_g=filemanager&mode=digital&delete=1 (Delete file in File Manager) http://localhost/admin.php?_g=settings&node=admins&action=edit&admin_id=2 (Delete user) http://localhost/admin.php?_g=customers&sort%5Bregistered%5D=DESC&action=delete&customer_id=1 (Delete customer user) http://localhost/admin.php?_g=products&sort%5Bupdated%5D=DESC&delete=1 (Delete product)

  1. SOLUTION

The vendor has chosen not to fix the issue. Workaround is not to visit malicious sites during log-in.

  1. VENDOR

CubeCart Development Team http://cubecart.com/

  1. CREDIT

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

  1. DISCLOSURE TIME-LINE

2012-12-22: Vulnerability disclosed 2012-12-24: The vendor replied that the fix would not be implemented. 2013-01-01: Vulnerability disclosed

  1. REFERENCES

Original Advisory URL: http://yehg.net/lab/pr0js/advisories/%5Bcubecart_5x%5D_csrf CubeCart Home Page: http://cubecart.com/

yehg [2013-01-01]


Best regards, YGN Ethical Hacker Group Yangon, Myanmar http://yehg.net Our Lab | http://yehg.net/lab Our Directory | http://yehg.net/hwd