apache / apache/cloudstack

[Hardening] F-03: Recommended Mandatory 2FA Enforcement from the Start.

Ouverte Adaptée aux débutants
#13,335 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
hardening
Langage dominant
Java
Étoiles
3.1k
Forks
1.4k
Merge moyen
6 j 19 h
PR mergées (30 j)
32

Description

### The required feature described as a wish

Image

**Description:** The "Tyranny of Default" principle recommends enabling the global setting `mandate.user.2fa` from the start. Security can always be downgraded later, but most users will simply accept whatever defaults they are given. If `mandate.user.2fa` is not set, 2FA remains ineffective even for those users who have already enrolled.

**Affected Components:** Management UI

**Impact:** Without mandatory enforcement, users may choose not to enroll in 2FA. In environments with regulatory or compliance requirements (e.g., PCI-DSS, SOC 2), the absence of enforced MFA may constitute a compliance gap.

**Steps to Reproduce:**
- Log in to the CloudStack Management UI as a Root Admin.
- Navigate to Configuration > Global Settings.
- Search for `mandate.user.2fa` and confirm the value is False.
- Create a new user account at any permission level.
- Log in as that user and confirm that access is granted without any 2FA prompt.

**Recommended Remediation:** Set `mandate.user.2fa` to True by default. Users will be naturally guided to set up 2FA at first login without friction, and the first impression of the ACS project will reflect a stronger security posture.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez dans Global Settings de la CloudStack Management UI et localisez la définition de `mandate.user.2fa`. Vérifiez comment sa valeur par défaut est appliquée et comment l’obligation lors de la première connexion est vérifiée ; le travail est considéré comme terminé lorsqu’une nouvelle installation active le paramètre par défaut et qu’un utilisateur nouvellement créé est invité à configurer 2FA.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
java
Domaine
authentication, security
Type d'issue
Fonctionnalité
Difficulté
2/5
Temps estimé
1-3 heures
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
68/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.