| Titel | MeshCentral 1.2.5 Improper Privilege Management |
|---|
| Beschreibung | 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). |
|---|
| Quelle | ⚠️ https://gist.github.com/k4z01/8f9d5ff48577aa2b886575e2bdfc870b |
|---|
| Benutzer | k4z0 (UID 101097) |
|---|
| Einreichung | 05.11.2026 20:20 (vor 23 Tagen) |
|---|
| Moderieren | 28.11.2026 21:59 (23 days later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 445133 [Ylianst MeshCentral bis 1.3.1 meshuser.js serverCommandAddDeviceUser rights erweiterte Rechte] |
|---|
| Punkte | 20 |
|---|