Skip to content
RCE Write-up Intermediate

CVE-2023–38646: The Metabase Mayhem — Finding Vulnerable Devices on Shodan

Metabase versions affected by CVE-2023-38646 allow an attacker to execute arbitrary commands remotely. An attacker could run commands on the server, leading to data breaches and system compromise.

Abhishek Kollur Follow

Published on systemweakness.com

In the vast landscape of cybersecurity, there’s always a new vulnerability lurking around the corner. Just when you thought your database was safe, along comes CVE-2023–38646 to shake things up.

Abhishek Kollur, on systemweakness.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a flaw in Metabase's code that fails to properly validate input, enabling command injection.

Impact

An attacker could execute arbitrary commands, leading to data breaches, system compromise, and unauthorised access.

What the attacker needed

Metabase instance exposed to internet; Vulnerable version of Metabase

The fix

Organisations using Metabase should upgrade to the latest version to mitigate this vulnerability.

How it was found

  1. Use a Shodan search query to find Metabase devices.
  2. Run a Nuclei template to filter vulnerable IPs.
  3. Use a Metasploit module to exploit the identified devices.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Metabase is a tool for making charts and dashboards from data. A bug in some versions lets an attacker run their own commands on the server, like a remote control. This is called remote code execution, and it can let an attacker steal data or take over the system.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Abhishek Kollur

View all

20 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.