apache / apache/cloudstack

Weak Default Password on System VMs.

Offen
#14,075 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
component:csvm component:ssvm component:virtual-router type:security
Vorherrschende Sprache
Java
Sterne
3.1k
Forks
1.4k
Ø Merge
6 T. 19 Std.
Gemergte PRs (30 T.)
32

Beschreibung

### The required feature described as a wish

**Description:** By default, CloudStack uses a hard-coded password for all System VMs.

**Affected Components:** System VMs (SSVM, CPVM, and VR)

**Impact:** An attacker who knows the default credentials, which are publicly documented, and has console access to any System VM could log in as `root`.

- On a VR: the attacker could act as a man-in-the-middle (MITM).
- On a SSVM: the attacker could tamper with templates and ISOs, and delete snapshots.
- On a CPVM: the attacker could potentially install a keylogger on noVNC sessions.

Steps to Reproduce:

- Open the Console of any System VM.
- Enter the default username `root` and password `password`.

**Recommended Remediation:** Enable randomization of System VM passwords by default, while allowing administrators to disable this behavior if needed.

**Note:** This feature already exists. Additionally, documentation improvements have been proposed to clarify how to enable and use it.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginnen Sie damit, die bestehende Funktion zur Passwort-Randomisierung der System VM und die in diesem Issue vorgeschlagene Dokumentation zu finden; es werden keine bestimmten Dateien oder Tests genannt. Prüfen Sie, wie sich das Verhalten auf SSVM, CPVM und VR auswirkt, einschließlich des Konfigurationsstandards und der Möglichkeit, die Funktion zu deaktivieren. Als abgeschlossen gilt die Aufgabe, wenn Passwörter standardmäßig randomisiert werden und Administratoren das Verhalten weiterhin deaktivieren können und die Verwendung klar dokumentiert ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
cloud, infrastructure, security
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.