Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:14105
HistoryAug 31, 2006 - 12:00 a.m.

[SA21659] CubeCart Multiple Vulnerabilities

2006-08-3100:00:00
vulners.com
22

TITLE:
CubeCart Multiple Vulnerabilities

SECUNIA ADVISORY ID:
SA21659

VERIFY ADVISORY:
http://secunia.com/advisories/21659/

CRITICAL:
Moderately critical

IMPACT:
Cross Site Scripting, Manipulation of data, Exposure of sensitive
information

WHERE:
>From remote

SOFTWARE:
CubeCart 3.x
http://secunia.com/product/6838/

DESCRIPTION:
James Bercegay has discovered some vulnerabilities in CubeCart, which
can be exploited by malicious people to conduct cross-site scripting
and SQL injection attacks, and to disclose sensitive information.

1) Input passed to the "links" parameter array is not properly
sanitised before being returned to the user. This can be exploited to
execute arbitrary HTML and script code in a user's browser session in
context of an affected site.

2) Input passed to the "searchArray[]" parameter when performing a
search is not properly sanitised before being used in SQL queries in
includes/content/viewCat.inc.php. This can be exploited to manipulate
SQL queries by injecting arbitrary SQL code.

Successful exploitation of #1 and #2 requires that "register_globals"
is enabled.

3) Input passed to the "gateway" parameter in
includes/content/gateway.inc.php is not properly verified before
being used to include files. This can be exploited to include
arbitrary files from local resources.

Successful exploitation requires that "magic_quotes_gpc" is
disabled.

The vulnerabilities have been confirmed in version 3.0.12. Other
versions may also be affected.

SOLUTION:
Apply patch, which fixes vulnerabilities #1 and #2. To fix #3 edit
the source code in includes/content/gateway.inc.php according to the
included manual patch instructions.

http://cubecart.com/site/forums/index.php?showtopic=21540

PROVIDED AND/OR DISCOVERED BY:
James Bercegay, GulfTech Security Research

ORIGINAL ADVISORY:
http://www.gulftech.org/?node=research&article_id=00111-08282006&


About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.