cve/2021/CVE-2021-31728.md
2025-09-29 21:09:30 +02:00

31 lines
1.5 KiB
Markdown

### [CVE-2021-31728](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-31728)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brightgreen)
### Description
Incorrect access control in zam64.sys, zam32.sys in MalwareFox AntiMalware 2.74.0.150 allows a non-privileged process to open a handle to \.\ZemanaAntiMalware, register itself with the driver by sending IOCTL 0x80002010, allocate executable memory using a flaw in IOCTL 0x80002040, install a hook with IOCTL 0x80002044 and execute the executable memory using this hook with IOCTL 0x80002014 or 0x80002018, this exposes ring 0 code execution in the context of the driver allowing the non-privileged process to elevate privileges.
### POC
#### Reference
- https://github.com/irql0/CVE-2021-31728/blob/master/CVE-2021-31728.md
#### Github
- https://github.com/ARPSyndicate/cve-scores
- https://github.com/ARPSyndicate/cvemon
- https://github.com/NaInSec/CVE-PoC-in-GitHub
- https://github.com/SYRTI/POC_to_review
- https://github.com/WhooAmii/POC_to_review
- https://github.com/hfiref0x/KDU
- https://github.com/irql/CVE-2021-31728
- https://github.com/irql0/CVE-2021-31728
- https://github.com/mathisvickie/KMAC
- https://github.com/nbaertsch/Ternimator
- https://github.com/nomi-sec/PoC-in-GitHub
- https://github.com/soosmile/POC
- https://github.com/trhacknon/Pocingit
- https://github.com/zecool/cve