apache / apache/cloudstack

[Hardening] F-09: No Email Alerts for Security-Relevant Events.

Offen
#13,338 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
type:improvement
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:** CloudStack does not send email notifications to users or administrators when security-relevant events occur on their accounts. Specifically, no alerts are generated for password changes, creation of API keys, failed login attempts, or exposure of data containing secrets, such as `kubeconfig`.

**Affected Components:** Management

**Impact:** Since users have no out-of-band visibility into actions taken on their accounts, an attacker may go undetected indefinitely, establish persistence by creating API keys, try to guess users' passwords, attempt to access users' accounts from an unauthorized source (see F-12), or silently lock the user out by resetting their password. This significantly increases the window of exposure following a credential compromise.

**Steps to Reproduce:**
- Log in to the CloudStack Management UI as any user.
- Change your own password.
- Generate API keys.
- Reveal Kubernetes configuration.
- Attempt to log in with an incorrect password.
- Attempt to log in from an unauthorized source.
- Check for an email notification confirming that any of the above actions occurred.

**Recommended Remediation:** Implement email notifications for security-sensitive account events, including but not limited to the ones listed above. Each notification should include the timestamp, source IP address, and nature of the action performed. All triggering events should additionally be recorded as audit log entries to support forensic investigation and compliance reporting.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Es werden keine Quelldateien oder Tests genannt. Beginne in den Management-UI-Abläufen für Passwortänderungen, die Erstellung von API-key, fehlgeschlagene oder nicht autorisierte Logins und die Offenlegung der Kubernetes-Konfiguration und verfolge anschließend deren audit-log-Verarbeitung und Benachrichtigungspfade. Erledigt bedeutet, dass jedes aufgeführte Sicherheitsereignis die erforderlichen Audit-Daten erfasst und eine E-Mail mit seinem Zeitstempel, seiner source IP und seiner Aktion sendet.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
kubernetes
Bereich
authentication, backend, security
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Ruhig
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

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