apache / apache/cloudstack

[Hardening] F-10: No 2FA Verification Required Before Destructive or Sensitive Operations.

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

描述

### The required feature described as a wish

**Description:** CloudStack does not require users to re-verify their identity (step-up authentication) before performing high-impact operations such as deleting or expunging resources or resetting and revealing secrets, such as API keys of other user accounts. Once a user is authenticated for a session, all actions are permitted without additional verification.

**Affected Components:** Management UI

**Impact:** If a valid user session is hijacked (e.g., through XSS, session token theft, or an unattended workstation), an attacker can immediately perform irreversible, destructive actions or extract sensitive credentials without any additional authentication barrier. Requiring TOTP verification as a step-up factor would block this attack vector, whereas a Static PIN would not, as it offers no time-bound or replay-resistant protection.

**Steps to Reproduce:**
- Log in to the CloudStack Management UI as a Root Admin.
- Navigate to Compute > Instances > Select any instance > Click on Delete.
- Observe that the action proceeds to a confirmation dialog without any prompt for TOTP verification.

**Recommended Remediation:** Implement step-up authentication for a defined list of sensitive or destructive operations. Require the user to enter their current TOTP code before executing the operation. Log all step-up authentication events for auditing.

贡献指南

打开贡献指南

调研方向

首先审查复现步骤中描述的 CloudStack Management UI 流程,从实例删除和现有确认对话框开始。定义所涵盖的敏感操作和破坏性操作,然后验证在执行这些操作之前是否需要当前的 TOTP 验证,以及 step-up 事件是否会被记录以供审计。

由索引模型根据 Issue 内容生成。

评估

领域
authentication, frontend, security
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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