Descrizione
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.
Tipo di vulnerabilità
CWE-1392
Use of Default Credentials
The product uses default credentials (such as passwords or cryptographic keys) for potentially critical functionality.
Impatto sui sistemi
| Ambito | Impatto |
| Autenticazione |
Ottenere privilegi o assumere un’altra identità |
Come si previene
Requisiti
Prohibit use of default, hard-coded, or other values that do not vary for each installation of the product - especially for separate organizations.
Architettura e progettazione
Force the administrator to change the credential upon installation.
Installazione · Esercizio
The product administrator could change the defaults upon installation or during operation.
Tutte le 130 CVE di tipo CWE-1392, con andamento e prevenzione