1. OVERVIEW
CubeCart 5.0.7 and lower versions are vulnerable to Open URL Redirection.
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 5.0.7 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 "redir" parameter. 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.
4. VERSIONS AFFECTED
5.0.7 and lower
5. Affected URL and Parameter
/admin.php (redir parameter)
/admin.php?redir=//yehg.net/%3f (Redirect after login)
6. SOLUTION
Upgrade to the latest CubeCart version - 5.x.
7. VENDOR
CubeCart Development Team
http://cubecart.com/
8. CREDIT
Aung Khant, http://yehg.net, YGN Ethical Hacker Group, Myanmar.
9. DISCLOSURE TIME-LINE
2012-03-24: Vulnerability reported
2012-12-24: Vulnerability disclosed
10. REFERENCES
Original Advisory URL:
http://yehg.net/lab/pr0js/advisories/%5Bcubecart_5.0.7%5D_open_url_redirection
CubeCart Home Page: http://cubecart.com/
#yehg [2012-12-24]