Skip to content
Info disclosure Write-up Beginner

Write-Up — Publicly Exposed MySQL on an “Inactive” Subd

A MySQL/MariaDB service on an inactive subdomain was publicly reachable and allowed unauthenticated username enumeration, revealing high-privilege usernames. An attacker could use these usernames to focus credential-guessing attacks, though no authentication attempts were made.

Mohamed Abdul Hamid Follow

Published on medium.com

During a scoped bug-bounty engagement I discovered a MySQL/MariaDB service publicly reachable on shop.kaia.io (IP 147.93.79.55) that allowed unauthenticated username enumeration. Enumeration returned multiple high-privilege usernames (e.g. root,webadmin).

Mohamed Abdul Hamid, 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

Root cause

Likely the MySQL service was publicly exposed and configured to allow unauthenticated username enumeration.

Impact

The exposure could allow an attacker to convert blind credential guessing into a targeted attack, potentially leading to full application compromise and data exposure, though the vendor considered the subdomain inactive and accepted the risk.

What the attacker needed

Public internet access to the target; no authentication required

The fix

The issue was not fixed; the vendor accepted the risk, but it should be fixed by restricting MySQL access to private networks and blocking public access to the database port.

How it was found

  1. Scan for open TCP services on the target.
  2. Identify an open MySQL port.
  3. Run a non-intrusive enumeration script to confirm service behaviour and list usernames.

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.

A database service was exposed to the internet without proper restrictions. It revealed valid usernames when asked, which helps attackers guess passwords more easily. The company said the subdomain was inactive and accepted the risk, so it was not fixed.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.