apache / apache/cloudstack

[Hardening] F-12: Absence of Per-Account or Per-User Source CIDR Allowlist.

Đang mở
#13,340 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
type:new-feature
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

**Description:** CloudStack does not provide a built-in mechanism to restrict per-account or per-user access to a defined set of source IP addresses or CIDR ranges. Any IP address that can reach the management plane can attempt to authenticate as any account.

**Affected Components:** Management UI / API

**Impact:** Without source IP allowlisting, a stolen API key or compromised credential set can be used from any network location globally. There is no network-level control to limit the blast radius of a credential compromise. High-privilege service accounts are particularly at risk, as they can be accessed from unexpected locations without raising any flags.

**Steps to Reproduce:**
- This finding is not directly reproducible since it reflects the absence of a control.

**Recommended Remediation:** Implement a per-account or per-user source CIDR allowlist field in the data model. Requests originating from IPs outside the defined allowlist should be rejected and logged as a security event.

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

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

Hướng nghiên cứu

Issue xác định Management UI/API, mô hình dữ liệu account hoặc user, các kiểm tra IP nguồn của request và việc ghi log Security-Events, nhưng không nêu file hoặc test nào. Hãy bắt đầu bằng cách tìm các entry point đó và lần theo quá trình authentication và authorization đối với các API request. Phần hoàn thành cần bao gồm một chính sách CIDR được định nghĩa theo từng account hoặc user, việc từ chối các request nằm ngoài chính sách và các Security-Events được ghi log, kèm coverage cho hành vi liên quan.

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
api, authentication, authorization, backend, security
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
30/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.