Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:27621
HistoryFeb 12, 2012 - 12:00 a.m.

CubeCart 3.0.20 (3.0.x) and lower | Open URL Redirection Vulnerability

2012-02-1200:00:00
vulners.com
28
  1. OVERVIEW

The CubeCart 3.0.20 and lower versions are vulnerable to Open URL Redirection.

  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

The CubeCart 3.0.20 and lower versions contain a flaw that allows a
remote cross site redirection attack. This flaw exists because the
application does not properly sanitise the parameters,"goto" and "r".
This allows an attacker to create a specially crafted URL, that if
clicked, would redirect a victim from the intended legitimate web site
(domain.com) to an arbitrary web site (localhost) of the attacker's
choice.

  1. VERSIONS AFFECTED

3.0.20 and lower (aka 3.0.x family)

  1. PROOF-OF-CONCEPT/EXPLOIT

http://localhost/cube3.0.20/switch.php?r=//yehg.net/&lang=es
http://localhost/cube3.0.20/admin/login.php?goto=//yehg.net

  1. SOLUTION

The CubeCart 3.0.x version family is no longer maintained by the vendor.
Upgrade to CubeCart 4x/5.x.

  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-02-10: CubeCart 3.0.x in End-of-Support/Maintenance circle
2012-02-10: Vulnerability disclosed

  1. REFERENCES

Original Advisory URL:
http://yehg.net/lab/pr0js/advisories/[cubecart_3.0.20_3.0.x]_open_url_redirection
CubeCart Home Page: http://cubecart.com/
OWASP Top 10 2010 - A 10:
http://www.owasp.org/index.php/Top_10_2010-A10-Unvalidated_Redirects_and_Forwards
SANS Top 25: http://cwe.mitre.org/top25/#CWE-601
CWE-601: http://cwe.mitre.org/data/definitions/601.html

#yehg [2012-02-10]