CVE-2019-0803

漏洞简介

2019年4月微软修补了多个安全漏洞,其中包括一个在野Windows零日漏洞(CVE-2019-0803)。这个Win32k组件的漏洞允许攻击者提升权限并在内核模式下执行任意代码,并且影响范围广,包括Windows7、Windows8、Windows10和WindowsServer等多个系统。

漏洞成因是DDE数据交换时,Server端调用的HmgSetOwner函数没有有效设置GDI对象的状态,导致Client端进程退出时错误的释放了外部GDI对象,造成UAF。

影响版本

Microsoft Windows Server 2019 0

Microsoft Windows Server 2016 0

Microsoft Windows Server 2012 R2 0

Microsoft Windows Server 2012 0

Microsoft Windows Server 2008 R2 for x64-based Systems SP1

Microsoft Windows Server 2008 R2 for Itanium-based Systems SP1

Microsoft Windows Server 2008 for x64-based Systems SP2

Microsoft Windows Server 2008 for Itanium-based Systems SP2

Microsoft Windows Server 2008 for 32-bit Systems SP2

Microsoft Windows Server 1803 0

Microsoft Windows Server 1709 0

Microsoft Windows RT 8.1

Microsoft Windows 8.1 for x64-based Systems 0

Microsoft Windows 8.1 for 32-bit Systems 0

Microsoft Windows 7 for x64-based Systems SP1

Microsoft Windows 7 for 32-bit Systems SP1

Microsoft Windows 10 Version 1809 for x64-based Systems 0

Microsoft Windows 10 Version 1809 for ARM64-based Systems 0

Microsoft Windows 10 Version 1809 for 32-bit Systems 0

Microsoft Windows 10 Version 1803 for x64-based Systems 0

Microsoft Windows 10 Version 1803 for ARM64-based Systems 0

Microsoft Windows 10 Version 1803 for 32-bit Systems 0

Microsoft Windows 10 version 1709 for x64-based Systems 0

Microsoft Windows 10 Version 1709 for ARM64-based Systems 0

Microsoft Windows 10 version 1709 for 32-bit Systems 0

Microsoft Windows 10 version 1703 for x64-based Systems 0

Microsoft Windows 10 version 1703 for 32-bit Systems 0

Microsoft Windows 10 Version 1607 for x64-based Systems 0

Microsoft Windows 10 Version 1607 for 32-bit Systems 0

Microsoft Windows 10 for x64-based Systems 0

Microsoft Windows 10 for 32-bit Systems 0

漏洞利用

参考资料

https://zhuanlan.zhihu.com/p/62520006

漏洞修复

https://msrc.microsoft.com/update-guide/zh-cn/vulnerability/CVE-2019-0803

演示