Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:13929
HistoryAug 17, 2006 - 12:00 a.m.

[SA21484] Zen Cart SQL Injection and File Inclusion Vulnerabilities

2006-08-1700:00:00
vulners.com
12

Hardcore Disassembler / Reverse Engineer Wanted!

Want to work with IDA and BinDiff?
Want to write PoC's and Exploits?

Your nationality is not important.
We will get you a work permit, find an apartment, and offer a
relocation compensation package.

http://secunia.com/hardcore_disassembler_and_reverse_engineer/


TITLE:
Zen Cart SQL Injection and File Inclusion Vulnerabilities

SECUNIA ADVISORY ID:
SA21484

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

CRITICAL:
Highly critical

IMPACT:
Manipulation of data, System access

WHERE:
>From remote

SOFTWARE:
Zen Cart 1.x
http://secunia.com/product/3488/

DESCRIPTION:
James Bercegay has reported some vulnerabilities in Zen Cart, which
can be exploited by malicious people to conduct SQL injection attacks
and compromise a vulnerable system.

1) Input passed to the "ipn_get_stored_session",
"whos_online_session_recreate", and the "add_cart" functions is not
properly sanitised before being used in an SQL query. This can be
exploited to manipulate SQL queries by injecting arbitrary SQL code.

2) Certain input is not properly verified before being used to
include files. This can be exploited to include arbitrary files from
local or external resources.

Examples:
http://[host]/index.php?autoLoadConfig[999][0][autoType]=include&autoLoadConfig[999][0][loadFile]=[remote
file]

  • The "typefilter" parameter (only local resources)

The vulnerabilities have been reported in version 1.3.0.2. Other
versions may also be affected.

SOLUTION:
Edit the source code to ensure that input is properly sanitised and
verified.

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

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


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.