### CVE-2011-1974

#### Describe

NDISTAPI.sys in the NDISTAPI driver in Remote Access Service (RAS) in Microsoft Windows XP SP2 and SP3 and Windows Server 2003 SP2 does not properly validate user-mode input, which allows local users to gain privileges via a crafted application, aka "NDISTAPI Elevation of Privilege Vulnerability."


#### ImpactVersion

| Product             | CPU Architecture | Version | Update | Tested             |
| ------------------- | ---------------- | ------- | ------ | ------------------ |
| Windows Server 2003 |                  |         | SP2    | &#10004; |
| Windows Xp          |                  |         | SP2    |                    |
| Windows Xp          |                  |         | SP3    |                    |

#### Utilization

CompileCommand

```
i686-w64-mingw32-gcc CVE-2011-1974.c -o CVE-2011-1974.exe -lws2_32
```

Test system Windows Server 2003 SP2 x86，First, you need to modify the registry and open service with an administrator.

![image-20200822202222486](https://raw.github.com/Ascotbe/Image/master/Kernelhub/CVE-2011-1974_win2003_x86.png)

Then cut back to ordinary users

![22](https://raw.github.com/Ascotbe/Image/master/Kernelhub/CVE-2011-1974_win2003_x86.gif)

