incomplete privilege checks for API token creation
Affected packages
pve-access-control
Details
For Proxmox VE, a user with privileges which allow modification of all existing users could create privilege-separated API tokens or regenerate the secret of existing tokens for arbitrary users. If such a user lacks Permissions.Modify privileges, this allowed them to escalate their privileges by creating a privilege-separated API token for a higher-privileged user, or regenerating the secret of a highly privileged API token.
For Proxmox Backup Server and Proxmox Datacenter Manager, a user with privileges which allow modification of all existing users could regenerate the secret of existing tokens for arbitrary users. If such a user lacks Permissions.Modify privileges, this allowed them to escalate their privileges by regenerating the secret of a highly privileged API token.
This issue was reported privately for Proxmox VE by Geoffrey McClinsey <[email protected]>, and independently by both Project Loupe and Michael Stochl of ICT IronByte.
Fixed in
- libpve-access-control >= 9.2.1
- proxmox-backup-server >= 4.2.12-1
- proxmox-datacenter-manager >= 1.1.10
This page reproduces the official Proxmox forum post (opens in a new tab). The original is authoritative.