Multiple SQL injection vulnerabilities in Zen Cart 1.3.0.2 and earlier allow remote attackers to execute arbitrary SQL commands via (1) GPC data to the ipn_get_stored_session function in ipn_main_handler.php, which can be leveraged to modify elements of $_SESSION; and allow remote authenticated users to execute arbitrary SQL commands via (2) a session id within a cookie to whos_online_session_recreate, (3) the quantity field to the add_cart function, (4) an id[] parameter when adding an item to a shopping cart, or (5) a redemption code when checking out (dc_redeem_code parameter to includes/modules/order_total/ot_coupon.php).
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Link | Tags |
---|---|
http://www.osvdb.org/28144 | vdb entry |
http://www.vupen.com/english/advisories/2006/3283 | vdb entry vendor advisory |
https://exchange.xforce.ibmcloud.com/vulnerabilities/28393 | vdb entry |
http://www.osvdb.org/28145 | vdb entry |
http://www.securityfocus.com/bid/19542 | vdb entry |
http://www.osvdb.org/28148 | vdb entry |
http://www.osvdb.org/28147 | vdb entry |
http://www.gulftech.org/?node=research&article_id=00109-08152006 | |
http://secunia.com/advisories/21484 | third party advisory vendor advisory |
http://www.zen-cart.com/forum/showthread.php?t=43579 | |
http://www.osvdb.org/28146 | vdb entry |