OpenStack images are evaluated to verify that visibility is not set to 'public'. Public images are accessible to all tenants in the cloud, potentially exposing operating system configurations, embedded credentials, proprietary software, and security hardening details. Best practices recommend keeping images private or shared only with specific trusted projects.
Risk
Public images expose operating system configurations, embedded credentials, and proprietary software to all tenants. Attackers can analyze public images to discover vulnerabilities, extract secrets, or clone them for malicious purposes. Public images may also violate compliance requirements for data isolation between tenants.
prowler openstack --checks image_not_publicly_visible
Recommendation
Set image visibility to 'private' or 'shared' with specific trusted projects. Regularly audit image visibility settings. Implement policies to prevent creation of public images in production environments.
Remediation
openstack image set --private <image_id>
Change visibility via Horizon:
- Navigate to Project > Compute > Images
- Select the public image
- Click Edit Image
- Change Visibility to Private
- Click Update Image
Source Code
Resource Type
OS::Glance::WebImage