apache / apache/cloudstack

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

Đang mở
#13,334 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
hardening
Ngôn ngữ chính
Java
Star
3.1k
Fork
1.4k
Merge trung bình
6 ngày 19 giờ
Pull request đã merge (30 ngày)
32

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu từ phần xử lý enable.user.2fa trong Management UI của Global Settings và xác minh cách giá trị mặc định của nó kiểm soát việc đăng ký của người dùng. Thay đổi được hoàn tất khi giá trị mặc định cho phép người dùng đăng ký 2FA mà không cần Root Admin can thiệp hoặc khởi động lại management-server; hãy xác nhận cài đặt và quy trình đăng ký trong UI.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
authentication, security
Loại issue
Tính năng
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.