IAM user login profile does not enforce resetting the generated password Affecting IAM service in AWS


Severity

0.0
medium
0
10
Severity Framework
Snyk CCSS
Rule category
IAM/ Passwords

Is your environment affected by this misconfiguration?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
Frameworks
CSA-CCMHIPAANIST-800-53
  • Snyk IDSNYK-CC-00339
  • creditSnyk Research Team

Description

By not requiring the IAM user login profile to reset the generated password, it means that the creator of the password can still have access to the IAM user account.

How to fix?

Set the aws_iam_user_login_profile password_reset_required field to true.

Example configuration:

resource "aws_iam_user_login_profile" "valid" {
  user                    = "example"
  password_reset_required = true
}