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.
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.
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
- Use a Shodan search query to find Metabase devices.
- Run a Nuclei template to filter vulnerable IPs.
- 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.