apache / apache/cloudstack

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

オープン
#13,338 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
type:improvement
主要言語
Java
スター
3.1k
フォーク
1.4k
平均マージ
6日 19時間
マージ済み PR(30日)
32

説明

### 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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

ソースファイルやテストは指定されていません。まず、パスワード変更、API-key の作成、失敗したログインまたは認証されていないログイン、Kubernetes 設定の露出に関する Management UI のフローから始め、続いてそれらの audit-log の処理と通知経路を追跡してください。完了の条件は、一覧にある各セキュリティイベントが必要な監査データを記録し、timestamp、source IP、action を含むメールを送信することです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
kubernetes
領域
authentication, backend, security
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。