[Hardening] F-02: Default Configuration Forces User’s Posture to Password-Only.
- 主要語言
- Java
- 星號
- 3.1k
- 分支
- 1.4k
- 平均合併
- 6 天 19 小時
- 30 天內合併 PR
- 32
描述
### The required feature described as a wish
**Description:** the global configuration setting `enable.user.2fa` defaults to False, meaning users who wish to use two-factor authentication (2FA) cannot do so without a Root Admin first enabling the setting and restarting the management server(s).
**Affected Components:** Management UI
**Impact:** Any compromised or weak user credential is sufficient to gain full access to a user's CloudStack account. This makes the platform susceptible to credential-stuffing, phishing, and brute-force attacks with no second factor to impede unauthorized access.
**Steps to Reproduce:**
- Log in to the CloudStack Management UI as a Root Admin.
- Navigate to Configuration > Global Settings.
- Search for `enable.user.2fa` and observe that its value is set to False.
- Attempt to enable 2FA on your own user account, and confirm that it is not permitted.
**Recommended Remediation:** Change the default value of `enable.user.2fa` to True so that users are always permitted to enroll in 2FA without requiring Root Admin intervention.
貢獻指南
研究方向
從 Management UI 中 Global Settings 對 enable.user.2fa 的處理著手,並確認其預設值如何控制使用者註冊。預設值允許使用者在不需 Root Admin 介入或重新啟動 management-server 的情況下註冊 2FA 後,即表示變更完成;在 UI 中確認該設定與註冊流程。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- authentication, security
- Issue 類型
- 功能
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100