Submeter #1076936: MeshCentral 1.2.5 Improper Privilege Managementinformação

TítuloMeshCentral 1.2.5 Improper Privilege Management
DescriçãoMeshCentral 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).
Fonte⚠️ https://gist.github.com/k4z01/8f9d5ff48577aa2b886575e2bdfc870b
Utilizador
 k4z0 (UID 101097)
Submissão05/11/2026 20h20 (há 27 dias)
Moderação28/11/2026 21h59 (23 days later)
EstadoAceite
Entrada VulDB445133 [Ylianst MeshCentral até 1.3.1 meshuser.js serverCommandAddDeviceUser rights Elevação de Privilégios]
Pontos20