AWS_UPDATE_LOGIN_PROFILE
Summary
Forestall ACL Alias
AWS_UPDATE_LOGIN_PROFILE
Edge Type
Attack Path
Affected Object Types
IAM Users
Exploitation Certainty
Certain
AWS IAM Action / Condition
iam:UpdateLoginProfile for target IAM user
Description
AWS_UPDATE_LOGIN_PROFILE is the ability to reset the AWS Management Console password for an IAM user who already has a login profile.
Unlike AWS_CREATE_LOGIN_PROFILE, this edge fires when the target user already has console access configured. An attacker with this permission resets the password to a known value, then signs in immediately as that user. If the target has no MFA requirement, access is instant. If the target is an administrator or billing owner, it is a direct path to full account takeover.
Identification
AWS CLI
Check whether the source principal has iam:UpdateLoginProfile on the target user:
aws iam simulate-principal-policy \
--policy-source-arn arn:aws:iam::123456789012:user/AnalystUser \
--action-names iam:UpdateLoginProfile \
--resource-arns arn:aws:iam::123456789012:user/TargetUserVerify whether the target user has an existing login profile:
If the command succeeds without a NoSuchEntity error, a console password exists and UpdateLoginProfile can reset it.
List users with login profiles across the account:
AWS Console
Open IAM -> Users -> select the source (attacker) user.
Open Permissions tab and inspect effective policies for
iam:UpdateLoginProfile.For the target user, open Security credentials -> Console sign-in to confirm a login profile exists.
Exploitation
Reset the console password of the target user:
After resetting, sign in to the AWS Management Console at:
using the new password. Without an MFA requirement on the target account, access is immediate.
Mitigation
Restrict
iam:UpdateLoginProfileto a dedicated break-glass or identity administration role.Enforce MFA for all IAM users with console access. An attacker who resets a password still cannot sign in without the MFA device.
Prefer AWS IAM Identity Center with SSO over local IAM user passwords.
Monitor the
PasswordResetRequiredattribute and alert when it changes unexpectedly.Use SCPs to block
iam:UpdateLoginProfileoutside approved automation.
Detection
Monitor CloudTrail for login profile changes:
Event source:
iam.amazonaws.comEvent name:
UpdateLoginProfile
Example lookup:
Key investigation signals:
The caller ARN differs from
requestParameters.userName, a cross-user reset.The event follows an
AssumeRoleor an unusual API credential pattern.The target user holds
AdministratorAccessor broad billing/IAM policies.
References
Last updated
Was this helpful?