apache / apache/cloudstack

[Hardening] F-03: Recommended Mandatory 2FA Enforcement from the Start.

未關閉 適合新手
#13,335 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
hardening
主要語言
Java
星號
3.1k
分支
1.4k
平均合併
7 天 14 小時
30 天內合併 PR
31

描述

### The required feature described as a wish

Image

**Description:** The "Tyranny of Default" principle recommends enabling the global setting `mandate.user.2fa` from the start. Security can always be downgraded later, but most users will simply accept whatever defaults they are given. If `mandate.user.2fa` is not set, 2FA remains ineffective even for those users who have already enrolled.

**Affected Components:** Management UI

**Impact:** Without mandatory enforcement, users may choose not to enroll in 2FA. In environments with regulatory or compliance requirements (e.g., PCI-DSS, SOC 2), the absence of enforced MFA may constitute a compliance gap.

**Steps to Reproduce:**
- Log in to the CloudStack Management UI as a Root Admin.
- Navigate to Configuration > Global Settings.
- Search for `mandate.user.2fa` and confirm the value is False.
- Create a new user account at any permission level.
- Log in as that user and confirm that access is granted without any 2FA prompt.

**Recommended Remediation:** Set `mandate.user.2fa` to True by default. Users will be naturally guided to set up 2FA at first login without friction, and the first impression of the ACS project will reflect a stronger security posture.

貢獻指南

開啟貢獻指南

研究方向

從 CloudStack Management UI 的 Global Settings 開始,找到 `mandate.user.2fa` 的定義。檢查其預設值如何套用,以及如何驗證首次登入時的強制要求;當新安裝預設啟用此設定,並提示新建立的使用者設定 2FA 時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
authentication, security
Issue 類型
功能
難度
2/5
預估耗時
1-3 小時
活躍度
冷清
描述清晰度
基本清楚
新手友好度
68/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。