by @alchemist
04 Nov 2023

Unmasking CVE-2023-38646: Analyzing the Critical Metabase Security Vulnerability and Its Implications

by @alchemist
04 Nov 2023

Unmasking CVE-2023-38646: Analyzing the Critical Metabase Security Vulnerability and Its Implications

CVEs

9.8 Critical Severity

Apps

Metabase
MetabaseMetabase
1.51.14.*
1.50.19.2.*
1.50.21.*
1.50.21.5.*
1.50.22.*
1.50.24.5.*
1.50.25.4.*
1.50.27.3.*
1.50.30.*
1.50.30.1.*

Screenshots from the blog posts

images/cloe182to6ifu1holcqt0asgv.pngimages/cloe182to6ifu1holcqt0asgv.png

Summary

Researchers discovered that many Metabase instances exposed their setup tokens, which should be removed after setup. They traced the issue to a January 2022 code change that inadvertently retained the tokens due to a refactoring error. This vulnerability primarily affected instances set up after the change. Exploiting the flaw, they used the setup phase to execute code by abusing JDBC drivers, initially targeting the H2 database's INIT parameter and later finding a SQL injection vulnerability in the H2 driver. This allowed them to execute arbitrary code. To avoid damaging databases or the application, they used a sample H2 database from Metabase's JAR file. Patching should address these code issues and enhance security practices.

Description

users/photos/clm4pm8ebnpz71gn2efjy7ime.jpg

@alchemist

70 posts

working on it.

Total vcoins

0

Social media links

Comments (0)