GHSA-5VR5-74Q2-MFG4
Team-scoped users could enqueue Apple MDM commands to enrollments outside their teams via the deprecated enqueue endpoint
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-5VR5-74Q2-MFG4 divulgada · CVSS 7.2 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
The deprecated Apple MDM command endpoint (`POST /api/latest/fleet/mdm/apple/enqueue`) authorized the caller against the teams of the hosts that could be resolved from the submitted `device_ids`, but then enqueued the command to the raw list of IDs from the request body. IDs that did not resolve to a host record were skipped during the authorization check and still written to the MDM command queue.
Impact
An authenticated user with a team-scoped admin, maintainer, or GitOps role could enqueue arbitrary Apple MDM commands (for example `InstallProfile`) to enrollments outside the teams they were authorized for, by including one UUID of a host on their own team alongside the target IDs. Reachable targets were Apple MDM enrollments without a current host record (such as devices deleted from Fleet but still enrolled) and user-channel enrollments of macOS hosts on other teams, whose enrollment IDs are not host UUIDs. Hosts with a host record were rejected at the authorization step. No activity log entry was recorded for commands sent through this endpoint.
Patches
Fixed in Fleet 4.92.0. The endpoint now enqueues only to the set of enrollments that passed authorization and records an activity entry, matching the behavior of the non-deprecated `POST /api/latest/fleet/commands/run` endpoint.
Workarounds
Upgrade to 4.92.0 or later. Until then, limit team-scoped admin, maintainer, and GitOps roles to trusted users.
For more information
If you have any questions or comments about this advisory:
Email us at [security@fleetdm.com](mailto:security@fleetdm.com)
Join #fleet in osquery Slack https://join.slack.com/t/osquery/shared_invite/zt-h29zm0gk-s2DBtGUTW4CFel0f0IjTEw
Credits
We thank @Ma7m0udAmin for responsibly reporting this issue through our Vulnerability Disclosure Program https://bugbop.com/programs/b5f2f20e-fe4d-466b-a474-6db65b4d2bb3.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Gogithub.com/fleetdm/fleet |
Corregida | 4.92.0 | — | — |
4.92.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/fleetdm/fleet/security/advisories/GHSA-5vr5-74q2-mfg4Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
