# Access to SQL server of ubergreen.pt through password disclosure from different domain on same IP

Exposed zip of a WordPress site on a shared IP leaked MySQL credentials that authenticated to the in-scope ubergreen.pt database server.

- Payout: $750
- Severity: low
- Program: Uber
- Found by: healdb
- Disclosed: 2021-03-15
- Write-up quality: 6/10
- Original: https://hackerone.com/reports/439223
- Library page: https://bugbountylibrary.com/r/h1%3A439223
- Tags: area:cloud domain:infra domain:web impact:data-leak impact:internal-access kind:bounty platform:hackerone sev:low tech:php tech:wordpress technique:recon vuln:misconfiguration vuln:secrets-leak

**Target:** MySQL server (port 3306) on shared hosting IP 109.71.41.173
**Root cause:** A publicly downloadable backup zip (outdarego.zip) of a co-hosted WordPress site contained wp-config.php with plaintext MySQL credentials valid for the shared database server.
**Steps:**
1. Resolve ubergreen.pt to 109.71.41.173 and note open MySQL port 3306.
2. Enumerate other domains on the same IP via reverse-IP lookup; find apps.etnos.co.
3. Browse `http://apps.etnos.co/outdarego.zip` and download the WordPress backup.
4. Extract wp-config.php to read DB_USER and DB_PASSWORD.
5. Connect to `mysql -h 109.71.41.173 -u <user> -p` and authenticate to the ubergreen.pt database.
**How found:** Noticed ubergreen.pt exposed MySQL on 3306, then did reverse-IP recon to find co-hosted domains; one (apps.etnos.co) served a directory-listed backup zip whose wp-config leaked shared DB credentials.
**Exploitation:** Attacker downloads the exposed backup zip, extracts wp-config.php credentials, and logs into the shared MySQL server on port 3306, gaining access to the ubergreen.pt database.
**Insight:** When an in-scope host exposes a DB port, reverse-IP the host and hunt co-hosted domains for leaked backups/configs — shared hosting means credentials from any neighbor often unlock the in-scope DB.

