This vulnerability can be exploited remotely over the network, with a regular user account, without any user interaction.
A successful attack has high impact: modifying data.
Weakness type: Missing authorization.
✨ AI commentary
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
Official description
ShellHub is an SSH gateway. Prior to version 0.26.0-rc.1, UpdateNamespaceMember in api/services/member.go checks whether the caller has authority over the requested new role but never checks whether the caller has authority over the target member's current role. A namespace administrator can demote the namespace owner to observer with one authenticated PATCH request. The demotion cannot be reversed through the API: HasAuthority(RoleOwner) returns false unconditionally for all roles, including administrator. Restoring the owner role requires direct database access. This issue has been patched in version 0.26.0-rc.1.
Information disclosure and improper access control when any local application binds to an exported telephony service due to a missing permission check.
A high privileged remote attacker can perform path traversal attack on the devices backend OpenVPN key upload functionality leading to arbitrary file write. This can result in a total loss of integrity and availability.
ssh.set_auth_key followed symlinks when writing a user's authorized_keys file and then changed ownership of the target. An unprivileged local user on a managed minion can plant a symlink so that the root-running minion…