The CubeCart 3.0.20 and lower versions are vulnerable to Open URL Redirection.
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.
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", "r" and
"redir". This allows an attacker to create a specially crafted URL,
that if clicked, would redirect a victim from the intended legitimate
web site to an arbitrary web site of the attacker's choice.
3.0.20 and lower (aka 3.0.x family)
http://localhost/cube3.0.20/switch.php?r=//yehg.net/&lang=es
http://localhost/cube3.0.20/admin/login.php?goto=//yehg.net
http://localhost/cube/index.php?act=login&redir=Ly95ZWhnLm5ldC8%3D
http://localhost/cube/cart.php?act=reg&redir=L2N1YmUvaW5kZXgucGhwP2FjdD1sb2dpbg%3D%3D
The CubeCart 3.0.x version family is no longer maintained by the vendor.
CubeCart Development Team
http://cubecart.com/
Aung Khant, http://yehg.net, YGN Ethical Hacker Group, Myanmar.
2012-02-10: CubeCart 3.0.x in End-of-Support/Maintenance circle
2012-02-10: Vulnerability disclosed
2012-02-19: Vulnerability updated
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
This advisory was updated on 2012-02-19 with one additional vulnerable
parameter, "redir".
#yehg [2012-02-10]
last updated: 2012-02-19