Secunia Security Advisory - James Bercegay has reported two vulnerabilities in Zen Cart, which can be exploited by malicious people to conduct SQL injection attacks.
62c2564746d9ace2297b60cfdeed09d30d810852f01edfae3f1832a5a00501cd
----------------------------------------------------------------------
We have updated our website, enjoy!
http://secunia.com/
----------------------------------------------------------------------
TITLE:
Zen Cart Two SQL Injection Vulnerabilities
SECUNIA ADVISORY ID:
SA31758
VERIFY ADVISORY:
http://secunia.com/advisories/31758/
CRITICAL:
Moderately critical
IMPACT:
Manipulation of data
WHERE:
>From remote
SOFTWARE:
Zen Cart 1.x
http://secunia.com/product/3488/
DESCRIPTION:
James Bercegay has reported two vulnerabilities in Zen Cart, which
can be exploited by malicious people to conduct SQL injection
attacks.
1) Input passed to product attribute values when adding to or
updating the shopping cart is not properly sanitised before being
used in SQL queries. This can be exploited to manipulate SQL queries
by injecting arbitrary SQL code.
2) Input passed as "products_id" array keys is not properly sanitised
before being used in SQL queries. This can be exploited to manipulate
SQL queries by injecting arbitrary SQL code.
Successful exploitation requires in both cases that
"magic_quotes_gpc" is disabled.
The vulnerabilities are reported in versions 1.2.0d to 1.3.8a.
SOLUTION:
Apply the vendor's official fix:
http://www.zen-cart.com/forum/showthread.php?p=604473
PROVIDED AND/OR DISCOVERED BY:
James Bercegay, GulfTech Security Research Team
ORIGINAL ADVISORY:
http://www.gulftech.org/?node=research&article_id=00129-09042008
----------------------------------------------------------------------
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/advisories/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
http://secunia.com/advisories/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.
----------------------------------------------------------------------