what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

TomatoCart 1.0.1 Cross Site Scripting

TomatoCart 1.0.1 Cross Site Scripting
Posted Oct 6, 2010
Authored by LiquidWorm | Site zeroscience.mk

TomatoCart version 1.0.1 suffers from a cross site scripting vulnerability.

tags | advisory, xss
SHA-256 | 34e741bd38e2824dc1af50ab1654419bc4ca5aa287742999e631921b7a7d5738

TomatoCart 1.0.1 Cross Site Scripting

Change Mirror Download

TomatoCart 1.0.1 (json.php) Remote Cross-Site Scripting Vulnerability


Vendor: Wuxi Elootec Technology Co., Ltd.
Product web page: http://www.tomatocart.com
Affected version: 1.0.1


Summary: TomatoCart is the new generation of open source shopping cart
solution developed by Elootec Technology Co., Ltd. It is branched
from osCommerce 3 as a separate project.


Desc: TomatoCart version 1.0.1 suffers from a XSS vulnerability because
input passed via the "action" parameter to json.php script is not
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.


-------------------------------- .output --------------------------------

Warning: call_user_func() expects parameter 1 to be a valid callback,
class 'toC_Json_Checkout' does not have a method '1' in \tomatocart\includes\classes\json.php on line 64

Line 64: call_user_func(array('toC_Json_' . ucfirst($module), $action));

-------------------------------- output. --------------------------------


--


------------------- .snip -------------------

$action = $_REQUEST['action'];

------------------- snip. -------------------



Tested on: Microsoft Windows XP Professional SP3 (English)
Apache 2.2.14 (Win32)
MySQL 5.1.41
PHP 5.3.1


Vendor status: [01.10.2010] Vulnerability discovered.
[02.10.2010] Vendor contacted.
[05.10.2010] No reply from vendor.
[06.10.2010] Public advisory released.


Advisory ID: ZSL-2010-4968
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2010-4968.php


Vulnerability discovered by: Gjoko "LiquidWorm" Krstic
liquidworm gmail com
Zero Science Lab - http://www.zeroscience.mk



Dokaz na koncept:

http://tomatocart/json.php?action=1<script>prompt("Please enter your password:")</script>&module=checkout&sid=31337133713371337133731337
Login or Register to add favorites

File Archive:

May 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    44 Files
  • 2
    May 2nd
    0 Files
  • 3
    May 3rd
    0 Files
  • 4
    May 4th
    0 Files
  • 5
    May 5th
    0 Files
  • 6
    May 6th
    0 Files
  • 7
    May 7th
    0 Files
  • 8
    May 8th
    0 Files
  • 9
    May 9th
    0 Files
  • 10
    May 10th
    0 Files
  • 11
    May 11th
    0 Files
  • 12
    May 12th
    0 Files
  • 13
    May 13th
    0 Files
  • 14
    May 14th
    0 Files
  • 15
    May 15th
    0 Files
  • 16
    May 16th
    0 Files
  • 17
    May 17th
    0 Files
  • 18
    May 18th
    0 Files
  • 19
    May 19th
    0 Files
  • 20
    May 20th
    0 Files
  • 21
    May 21st
    0 Files
  • 22
    May 22nd
    0 Files
  • 23
    May 23rd
    0 Files
  • 24
    May 24th
    0 Files
  • 25
    May 25th
    0 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close