[Hardening] F-12: Absence of Per-Account or Per-User Source CIDR Allowlist.
- Lingua principale
- Java
- Stelle
- 3.1k
- Fork
- 1.4k
- Merge medio
- 6g 19h
- PR unite (30g)
- 32
Descrizione
### 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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
L’issue identifica la Management UI/API, il modello di dati dell’account o dell’utente, i controlli sull’IP di origine delle richieste e il logging degli Security-Events, ma non indica file o test. Inizia individuando questi entry point e tracciando l’autenticazione e l’autorizzazione per le richieste API. Il completamento dovrebbe includere una policy CIDR definita per account o per utente, il rifiuto al di fuori della policy e Security-Events registrati, con copertura del comportamento pertinente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- api, authentication, authorization, backend, security
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Tranquilla
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100