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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| RamonSilva20 | mapos | 5.0.0-beta.1 – < 5.2.2 | 5.2.2 |
References
- Pull Request #3043 issue-tracking patch
- Patch Commit patch
- https://github.com/RamonSilva20/mapos product
- https://github.com/RamonSilva20/mapos/blob/v5.2.1/application/helpers/api_helper.php#L51-L125 technical-description
- mapos v5.2.2 Release Notes release-notes
- VulnCheck Advisory: Map-OS 5.0.0 to before 5.2.2 Privilege Escalation via /api/v1/usuarios third-party-advisory