### CVE-2013-1332

#### Describe

dxgkrnl.sys (aka the DirectX graphics kernel subsystem) in the kernel-mode drivers in Microsoft Windows Vista SP2, Windows Server 2008 SP2 and R2 SP1, Windows 7 SP1, Windows 8, Windows Server 2012, and Windows RT does not properly handle objects in memory, which allows local users to gain privileges via a crafted application, aka "DirectX Graphics Kernel Subsystem Double Fetch Vulnerability."

#### ImpactVersion

| Product             | CPU Architecture | Version | Update | Tested             |
| ------------------- | ---------------- | ------- | ------ | ------------------ |
| Windows 7           |                  |         | SP1    |                    |
| Windows 8           |                  |         |        |                    |
| Windows Rt          |                  |         |        |                    |
| Windows Server 2003 |                  |         | SP2    | &#10004; |
| Windows Server 2008 |                  |         | SP2    |                    |
| Windows Server 2008 |                  | R2      | SP1    |                    |
| Windows Server 2012 |                  |         |        |                    |
| Windows Vista       |                  |         | SP2    |                    |

#### Utilization

CompilerEnvironment

- VS2019（V120_xp）X64 Release
- VS2019（V120_xp）X86 Release
- The character set needs to replace multiple byte character sets, otherwise it is not available.

Test system Windows Server 2003 SP2 x86

![19](https://raw.github.com/Ascotbe/Image/master/Kernelhub/CVE-2013-1332_win2003_x86.gif)

#### Analyze
- https://www.anquanke.com/vul/id/1045064
- http://www.91ri.org/6708.html