| Title | Jiangmin Jiangmin Antivirus V21 Exposed Minifilter Port with Insufficient Access Control |
|---|
| Description | The Jiangmin Antivirus kernel driver, kvcore.sys exposes a minifilter communication port ("\KvCorePortX0") that accepts command messages from user-mode processes. The driver's MessageNotifyCallback (FUN_140008c60) dispatches a command code (0x1D / CMD_TERMINATE_PROCESS) to the internal function FUN_14000cf14, which terminates an arbitrary process specified by PID using the following kernel API chain:
1. PsLookupProcessByProcessId(PID)
2. ObOpenObjectByPointer(PROCESS_TERMINATE)
3. ZwTerminateProcess(handle, 0)
The vulnerability exists because in FUN_14000688c, the filter communication port is created using FltBuildDefaultSecurityDescriptor() with an overly permissive access mask (0x1F0001), granting connection rights to EVERYONE (S-1-1-0). This allows any user-mode process to connect.
When a user-mode process sends a message to the KvCorePortX0 minifilter, the MessageNotifyCallback callback function (at FUN_140008c60) performs no caller authentication. There are no calls to SeSinglePrivilegeCheck(), PsGetCurrentProcess() validation, token verification, or any process allowlist check. |
|---|
| Source | ⚠️ https://github.com/patrickt2017/research/issues/1 |
|---|
| User | patrickt2017 (UID 97401) |
|---|
| Submission | 06/20/2026 19:30 (2 months ago) |
|---|
| Moderation | 08/06/2026 22:06 (2 months later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 386711 [Jiangmin Antivirus 21 Minifilter Port kvcore.sys MessageNotifyCallback access control] |
|---|
| Points | 20 |
|---|