Description
Map-OS 5.0.0 to before 5.2.2 contains a privilege escalation vulnerability in the REST users API that allows non-administrator operators holding the cUsuario permission to bypass permission-delegation and super-administrator protections. Attackers can send POST, PUT, or DELETE requests to /api/v1/usuarios to assign the Administrador group, reset the super administrator password, or delete higher-privileged users.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
RamonSilva20 mapos
Default version status: unaffected
5.0.0-beta.1 to < 5.2.2affected
References
- https://github.com/RamonSilva20/mapos/pull/3043 ↗
- https://github.com/RamonSilva20/mapos/commit/9a4c5dc3835b52c12616a73ab60635e96e23ad7a ↗
- https://github.com/RamonSilva20/mapos ↗
- https://github.com/RamonSilva20/mapos/blob/v5.2.1/application/helpers/api_helper.php#L51-L125 ↗
- https://github.com/RamonSilva20/mapos/releases/tag/v5.2.2 ↗
- https://www.vulncheck.com/advisories/map-os-5.0.0-to-before-5.2.2-privilege-escalation-via-api-v1-usuarios ↗