UpdateLoginProfile

iam:UpdateLoginProfile to reset the console password of a more privileged user and take over their sign-in.

1 நிமிட வாசிப்பு5 அக்., 2026 அன்று புதுப்பிக்கப்பட்டதுflorianamette1 பங்களிப்பாளர்
உங்கள் உதவியாளரிடம் கேளுங்கள் (MCP)GitHub இல் திருத்து

iam:UpdateLoginProfile resets the console password of a user that already has a login profile. Against a more privileged user, set a password you know and sign in as them.

Reset the password#

bash
aws iam update-login-profile --user-name <privileged-user> \
  --password 'Newpass123!' --no-password-reset-required

Exploitation notes#

  • This is disruptive if the user actively signs in, since their old password stops working, so it is a deliberate choice against accounts that are not in interactive use.
  • If the target has no profile yet, use CreateLoginProfile instead.
  • Console MFA, where enforced, still gates sign-in even after a password reset.

Tools#

  • AWS CLI (iam update-login-profile).
  • Pacu (iam__privesc_scan).

References#