| 标题 | MeshCentral 1.2.5 Improper Privilege Management |
|---|
| 描述 | MeshCentral is affected by a privilege escalation vulnerability in the adddeviceuser control command (serverCommandAddDeviceUser in meshuser.js). The granted rights bitmask is validated only with command.rights & 7, which rejects Edit Device Group (1), Manage Users (2) and Manage Computers (4) but leaves Remote Control (8), Agent Console (16) and Remote Command (0x20000) unchecked. The handler also does not verify that the granted rights are a subset of the caller's own rights, nor that the caller is not the grant target. As a result, an authenticated user holding only the "Manage Device Group Users" right on a device group can grant themselves Remote Control and Agent Console rights on the devices in that group, obtaining Terminal, Desktop and Files access and remote command execution as root on those endpoints. The same missing subset check is present in serverCommandAddMeshUser (addmeshuser). |
|---|
| 来源 | ⚠️ https://gist.github.com/k4z01/8f9d5ff48577aa2b886575e2bdfc870b |
|---|
| 用户 | k4z0 (UID 101097) |
|---|
| 提交 | 2026-11-05 20時20分 (23 日前) |
|---|
| 管理 | 2026-11-28 21時59分 (23 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 445133 [Ylianst MeshCentral 直到 1.3.1 meshuser.js serverCommandAddDeviceUser rights 权限提升] |
|---|
| 积分 | 20 |
|---|