| 标题 | Jiangmin Jiangmin Antivirus V21 Exposed Minifilter Port with Insufficient Access Control |
|---|
| 描述 | 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. |
|---|
| 来源 | ⚠️ https://github.com/patrickt2017/research/issues/1 |
|---|
| 用户 | patrickt2017 (UID 97401) |
|---|
| 提交 | 2026-06-20 19時30分 (2 月前) |
|---|
| 管理 | 2026-08-06 22時06分 (2 months later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 386711 [Jiangmin Antivirus 21 Minifilter Port kvcore.sys MessageNotifyCallback 权限提升] |
|---|
| 积分 | 20 |
|---|