IAM password policy minimum password length is too short 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
CIS-AWSCIS-ControlsCSA-CCMNIST-800-53PCI-DSS
  • Snyk IDSNYK-CC-00216
  • creditSnyk Research Team

Description

An enterprise's password policy should require a password length of at least 14 characters. Setting a password complexity policy increases account resiliency against brute force login attempts.

How to fix?

Set the aws_iam_account_password_policy minimum_password_length field to 14.

Example Configuration

resource "aws_iam_account_password_policy" "example" {
  minimum_password_length = 14
  # other required fields here
}