OpenRemote
OpenRemote has Improper Access Control via updateUserRealmRoles function
OpenRemote is an open-source internet-of-things platform. Prior to version 1.22.1, a user who has `write:admin` in one Keycloak realm can call the Manager API to update Keycloak realm roles for users in another realm, including `master`. The handler uses the `{realm}` path segment when talking to the identity provider but does not check that the caller may administer that realm. This could result in a privilege escalation to `master` realm administrator if the attacker controls any user in `master` realm. Version 1.22.1 fixes the issue.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.0high · scored by CNA · CWE-284
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
openremote openremote
- < 1.22.1
Fixed in 1.22.1
Mitigation
Upgrade openremote to 1.22.1 or later.
References
- Vendor advisory github.com/openremote/openremote/security/advi…
- Release notes github.com/openremote/openremote/releases/tag/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.