Description
DB-GPT through 0.8.2 contains a hardcoded credentials vulnerability in its default docker-compose.yml that sets a static MYSQL_ROOT_PASSWORD and publishes port 3306 on all interfaces. Attackers reaching port 3306 or the shared dbgptnet network can authenticate as root@% to gain full database access including FILE and SUPER privileges.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| eosphoros-ai | DB-GPT | ≤ 0.8.2 | — |
References
- Lasso.security Advisory technical-description exploit
- https://github.com/eosphoros-ai/DB-GPT/blob/83609c471266607490b24e72188311efa23a0d16/docker-compose.yml#L9 technical-description
- VulnCheck Advisory: DB-GPT through 0.8.2 Hardcoded MySQL Root Credentials in docker-compose Deployment third-party-advisory