SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

CubeCart v3.0.16 SQL Injection Vulnerability


Arrow  SecurityAlert : 2730
Arrow  CVE : CVE-2007-2862
Arrow  SecurityRisk : Medium  Security Risk Medium  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Exploit Available : No
Arrow  Credit : John Martinelli
Arrow  Published : 29.05.2007

Arrow  Affected Software : CubeCart v3.0.16



Arrow  Advisory Content :  

An interesting SQL injection vulnerability was discovered in CubeCart
v3.0.16. This vulnerability cannot easily be exploited by traditional means
- in fact, the actual vulnerable variable was not discovered.

As a piece of user input is passed to CubeCart, it is sanitized through a
routine mySQLSafe - all except the variable $option in
include/blah/cart.inc.php as well as other files in the same directory.

The vulnerability was only reproduced by RedLevel with the Acunetix Web
Vulnerability Scanner. The vulnerability evidently 'poisons' data attached
with the user's cookie. The following error message displays an example of
the injection:

--- begin ---

MySQL Error Occured
1064: You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near
'Set-Cookie' at line 2

QUERY = SELECT cc3_CubeCart_options_bot.option_id,
cc3_CubeCart_options_bot.value_id, option_price, option_symbol, assign_id
FROM `cc3_CubeCart_options_bot` INNER JOIN `cc3_CubeCart_options_mid` ON
cc3_CubeCart_options_mid.value_id = cc3_CubeCart_options_bot.value_id INNER
JOIN `cc3_CubeCart_options_top` ON cc3_CubeCart_options_bot.option_id =
cc3_CubeCart_options_top.option_id WHERE assign_id = Set-Cookie

--- end ---

To solve this vulnerability, the variable $option should be sanitized with
mySQLSafe in all include files.

John Martinelli
john (at) martinelli (dot) com [email concealed]

RedLevel Security
http://www.RedLevel.org

May 21st, 2007





Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc/fnmatch(3) DoS

Security Risk Medium- 2011-05-13

Allow attacker to denial of service apache 2.2.17 server

Apache RSS Apache Alert

» Apache HTTP Server Denial
   of Service Vulnerability

» Multiple Vendors
   libc/fnmatch(3) DoS (incl
   apache poc)

» Apache Continuum
   cross-site scripting
   vulnerability

» Apache Tomcat DoS
   Vulnerability

PHP RSS PHP Alert

» PHP Hashtables Denial of
   Service

» PHP 5.3.6 multiple null
   pointer dereference

» PHP 5.3.6 ZipArchive
   invalid use glob(3)

» libzip 0.9.3
   _zip_name_locate NULL
   Pointer Dereference (incl
   PHP 5.3.5)

ADT

Protect your family and valuables with Home Security Systems

Copyright © SecurityReason.com. All Rights Reserved.