Metabase
Metabase: Server-Side Template Injection via Notifications Endpoint Leads to RCE
Metabase is an open-source data analytics platform. In versions prior to 0.57.13 and versions 0.58.x through 0.58.6, authenticated users are able to retrieve sensitive information from a Metabase instance, including database access credentials. During testing, it was confirmed that a low-privileged user can extract sensitive information including database credentials, into the email body via template evaluation. This issue has been fixed in versions 0.57.13 and 0.58.7. To workaround this issue, users can disable notifications in their Metabase instance to disallow access to the vulnerable endpoints.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.57.13
- >= 0.58.x, < 0.58.7
Fixed in 0.57.13, 0.58.7
Mitigation
Upgrade metabase to 0.57.13 or 0.58.7 or later.
References
- Vendor advisory github.com/metabase/metabase/security/advisori…
- Release notes github.com/metabase/metabase/releases/tag/v0.5…
- Release notes github.com/metabase/metabase/releases/tag/v0.5…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.