###### tags: `Env.Nw`
# XVIII. CVE-2021-3156
1. Download the Linux ubuntu 20.04.01 vmware image from [link](https://www.linuxvmimages.com/images/ubuntu-2004/#ubuntu-20041).
2. Import the OS image to Vmware and then enter to OS.
- Default user/ pass is as ubuntu/ ubuntu
3. Download the PoC code from [link](https://github.com/CptGibbon/CVE-2021-3156)
4. Extract the CVE-2021-3156 PoC code
5. Update the APT package list at first using command as `apt update -y --fix-missing`

6. Using the following command to install the dependency packages `apt install -y make gcc`
7. Switch to CVE-2021-3156 PoC code subfolder.
8. Compile the source code.
`make`
9. Using id command to retrive the current user status

10. exploit
