### CVE-2014-1767

#### Describe

Double free vulnerability in the Ancillary Function Driver (AFD) in afd.sys in the kernel-mode drivers in Microsoft Windows Server 2003 SP2, Windows Vista SP2, Windows Server 2008 SP2 and R2 SP1, Windows 7 SP1, Windows 8, Windows 8.1, Windows Server 2012 Gold and R2, and Windows RT Gold and 8.1 allows local users to gain privileges via a crafted application, aka "Ancillary Function Driver Elevation of Privilege Vulnerability."


#### ImpactVersion

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

#### Utilization

With the script is Python, there is also a compiled EXE version

> X86 utilization

Test system Windows 7 SP1 x86 ，Test EXE files and py scripts can be used normally

![16](https://raw.github.com/Ascotbe/Image/master/Kernelhub/CVE-2014-1767_win7_x86.gif)

> x64 utilization

Test system Windows 7 SP1 x64 Use the PY script, EXE file organically blue screen

![17](https://raw.github.com/Ascotbe/Image/master/Kernelhub/CVE-2014-1767_win7_x64.gif)

#### Analyze
- https://xz.aliyun.com/t/6770
- https://www.bbsmax.com/A/E35p6R28zv/