Databasement is a self-hosted database backup management application. From 1.2.0 until 1.7.2, authenticated users with volume creation permission can supply arbitrary custom_endpoint, public_endpoint, or sts_endpoint values in an S3 volume configuration. StoreS3VolumeRequest checks only that these values are strings within the length limit, and Awss3Filesystem::createClient() passes an endpoint to the AWS SDK without validating the URL or host. The server can consequently contact internal services when the volume is used. For a backup using IAM role assumption, an attacker-controlled sts_endpoint can target cloud instance metadata to expose credentials and potentially compromise an AWS account, depending on the role's permissions. Version 1.7.2 blocks link-local metadata targets, but permits private and loopback endpoints.
Get the CyboWatch SIEM platform, hosting, and 24×7 SOC analysts. Send an enquiry, or call or email us to get started.