Description
WebVirtCloud fails to properly validate permission flags in UserInstance grants, allowing view-only users to perform privileged actions. Attackers with read-only grants can power off virtual machines, reset root passwords, install SSH keys, and manage ISO images by exploiting the get_instance gate that only checks grant existence.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
retspen webvirtcloud
Default version status: unaffected
1b2da68b2800f94674dd96f4a986cde30ac88280affected
References
- https://github.com/retspen/webvirtcloud/issues/682 ↗
- https://github.com/retspen/webvirtcloud ↗
- https://github.com/retspen/webvirtcloud/blob/1b2da68b2800f94674dd96f4a986cde30ac88280/instances/views.py#L316-L330 ↗
- https://github.com/retspen/webvirtcloud/blob/1b2da68b2800f94674dd96f4a986cde30ac88280/instances/views.py#L356-L363 ↗
- https://github.com/retspen/webvirtcloud/blob/1b2da68b2800f94674dd96f4a986cde30ac88280/instances/views.py#L538-L546 ↗
- https://www.vulncheck.com/advisories/webvirtcloud-missing-authorization-on-instance-control-actions ↗