apache / apache/cloudstack

[Hardening] F-02: Default Configuration Forces User’s Posture to Password-Only.

未关闭
#13,334 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
hardening
主要语言
Java
星标
3.1k
派生
1.4k
平均合并
6 天 19 小时
30 天内合并 PR
32

描述

### The required feature described as a wish

Image

**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

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。