Databasementに認証済みユーザーから内部ネットワークへ接続される脆弱性
Summary
Databasementの1.2.0から1.7.2までには、ボリューム設定のS3エンドポイントURLを検証しない脆弱性があり、認証済みユーザーが内部サービスへの接続を誘導できます。IAMロールを使うバックアップでは、クラウドのメタデータからクレデンシャルが漏えいするおそれもあります。1.7.2でリンクローカルのメタデータ宛ての接続は遮断されましたが、プライベートアドレスとループバック宛ては残っています。最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Databasementの1.2.0から1.7.2までには、ボリューム設定のS3エンドポイントURLを検証しない脆弱性があり、認証済みユーザーが内部サービスへの接続を誘導できます。IAMロールを使うバックアップでは、クラウドのメタデータからクレデンシャルが漏えいするおそれもあります。1.7.2でリンクローカルのメタデータ宛ての接続は遮断されましたが、プライベートアドレスとループバック宛ては残っています。最新の情報を確認してください。
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- web github.com