Block storage snapshot metadata does not contain sensitive data
blockstorage_snapshot_metadata_sensitive_data
OpenStack block storage snapshot metadata is evaluated to detect sensitive data such as passwords, API keys, secrets, and private keys. Snapshot metadata is accessible via the OpenStack API to any user with access to the project. Storing secrets in metadata exposes them to unauthorized access through the API.
Risk
Snapshot metadata containing sensitive data exposes credentials through the OpenStack API, accessible to any project member. Attackers with project access can enumerate snapshot metadata to extract passwords, API keys, and private keys. Stolen credentials enable unauthorized modifications, privilege escalation, and data breaches.
prowler openstack --checks blockstorage_snapshot_metadata_sensitive_data
Recommendation
Never store secrets in snapshot metadata; use Barbican (OpenStack Key Manager), Vault, or external secrets management instead. Remove any sensitive data currently stored in snapshot metadata and rotate exposed credentials immediately. Implement metadata policies to prevent sensitive data from being added.
Remediation
openstack volume snapshot unset --property <sensitive_key> <snapshot_id>
- Navigate to Block Storage > Snapshots
- Select snapshot with sensitive metadata
- Remove sensitive metadata keys using CLI command
- Rotate exposed credentials immediately
- Store secrets in Barbican or external secrets manager instead
Source Code
Resource Type
OS::Cinder::Snapshot
References
Related To
- blockstorage_volume_metadata_sensitive_data