### [CVE-2011-5046](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-5046) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description The Graphics Device Interface (GDI) in win32k.sys in the kernel-mode drivers in Microsoft Windows XP SP2 and SP3, Windows Server 2003 SP2, Windows Vista SP2, Windows Server 2008 SP2, R2, and R2 SP1, and Windows 7 Gold and SP1 does not properly validate user-mode input, which allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via crafted data, as demonstrated by a large height attribute of an IFRAME element rendered by Safari, aka "GDI Access Violation Vulnerability." ### POC #### Reference - https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-008 #### Github - https://github.com/ARPSyndicate/cvemon - https://github.com/nitishbadole/oscp-note-2 - https://github.com/rmsbpro/rmsbpro