Check provider logo

Block storage snapshot metadata does not contain sensitive data

blockstorage_snapshot_metadata_sensitive_data

Severitycritical
by Prowler

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.

Run this check with Prowler CLI

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

CLI

openstack volume snapshot unset --property <sensitive_key> <snapshot_id>

Other
  1. Navigate to Block Storage > Snapshots
  2. Select snapshot with sensitive metadata
  3. Remove sensitive metadata keys using CLI command
  4. Rotate exposed credentials immediately
  5. Store secrets in Barbican or external secrets manager instead

Source Code

Resource Type

OS::Cinder::Snapshot

References

Related To

  • blockstorage_volume_metadata_sensitive_data