---------------------------------------------------------------------- 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: CubeCart Cross-Site Scripting and SQL Injection Vulnerabilities SECUNIA ADVISORY ID: SA21538 VERIFY ADVISORY: http://secunia.com/advisories/21538/ CRITICAL: Moderately critical IMPACT: Cross Site Scripting, Manipulation of data WHERE: >From remote SOFTWARE: CubeCart 3.x http://secunia.com/product/6838/ DESCRIPTION: rgod has reported some vulnerabilities in CubeCart, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks. 1) Input passed to the "oid" parameter in modules/gateway/Protx/confirmed.php and the "x_invoice_num" parameter in modules/gateway/Authorize/confirmed.php isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. Successful exploitation of the "x_invoice_num" parameter requires that "magic_quotes_gpc" is disabled. 2) Some input isn't 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. Examples: http://[host]/admin/filemanager/preview.php?file=[code] http://[host/admin/filemanager/preview.php?file=1&x=[code] http://[host]/admin/filemanager/preview.php?file=1&y=[code] http://[host]/admin/login.php?email=[code] The vulnerabilities have been reported in version 3.0.11. Prior versions may also be affected. SOLUTION: Update to version 3.0.12. https://www.cubecart.com/site/helpdesk/index.php?_m=downloads&_a=view&parentcategoryid=5&pcid=0&nav=0 PROVIDED AND/OR DISCOVERED BY: rgod ORIGINAL ADVISORY: http://www.cubecart.com/site/forums/index.php?showtopic=21247 http://retrogod.altervista.org/cubecart_3011_adv.html http://retrogod.altervista.org/cubecart_3011_sql_mqg_bypass.html http://retrogod.altervista.org/cubecart_3011_sql.html ---------------------------------------------------------------------- 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. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------