Skip to content
SQL injection Write-up Intermediate

A coffee chain’s 5.7 million account leak ran through Metabase. Check your own instance today

An unauthenticated SQL injection in Metabase's password reset endpoint allowed attackers to gain admin access to instances, and Fore Coffee reported that customer data was accessed through its Metabase platform. The company estimated up to about 5.7 million customer accounts were affected.

sudodrift Follow

Published on medium.com

Fore Coffee is one of Indonesia’s bigger coffee chains, with more than 400 outlets. On October 27 it told the Indonesia Stock Exchange that someone had accessed customer data through its Metabase platform, the business intelligence tool its team uses to work with data.

sudodrift, on medium.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

Impact

An attacker could gain admin access to a Metabase instance, change settings, take stored credentials for connected databases, and export data those connections can read; Fore reported that customer data was accessed, though the text does not confirm the exact vulnerability used.

What the attacker needed

Metabase instance reachable from the internet; Affected version (branches 58–63 below fixed builds); No authentication required

The fix

Metabase released fixed builds and advised blocking the reset endpoint if upgrading was not possible; Fore said it updated the relevant platform to its latest version.

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 that lets staff query and view company data. A bug in its password reset feature let someone take over the tool without logging in, and from there read the databases it was connected to. Fore Coffee said customer data was accessed through its Metabase setup.

What is SQL injection?

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.

Similar reports

View all

Same bug class and techniques, clearest first.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.