IAM password policy does not prevent reuse of the last 24 passwords

Severity
Low
Service
IAM
Check ID
PASSWORD_POLICY_REUSE_PREVENTION

What this check finds

Without password reuse prevention, users can rotate their password and immediately reuse a previously compromised credential. The CIS benchmark requires preventing reuse of the last 24 passwords.

Passing looks like: Password policy prevents reuse of last 24 passwords.

How to fix it

Set password reuse prevention to 24 or more.

AWS CLI

  1. aws iam update-account-password-policy --password-reuse-prevention 24

Names in capitals are placeholders for your own resource. Review a command before you run it.

AWS console

IAM → Account settings → Edit password policy → Prevent password reuse.

Compliance controls it is evidence for

A failing result counts against these controls in KloudLytics; a passing one is evidence towards them. How compliance mapping works

Compliance controls mapped to IAM password policy does not prevent reuse of the last 24 passwords
FrameworkControls
CIS AWS Foundations Benchmark v5.0.0
  • 1.8 Ensure IAM password policy prevents password reuse
PCI-DSS v4.0.1
  • 8.3.6 Passwords/passphrases meet minimum complexity requirements
SOC 2 — Trust Services Criteria
  • CC5.2 The entity selects and develops control activities over technology
NIST SP 800-53 Rev5 (Moderate)
  • IA-5 Authenticator Management
NIST Cybersecurity Framework 2.0
  • PR.AA-01 Identities and credentials are managed
ISO/IEC 27001:2022 Annex A
  • A.5.17 Authentication information

Checked on every scan

KloudLytics runs this check each time it scans a connected AWS account, through a read-only role, and lists every affected resource with its region. On Pro and Business a fix is written for the specific resource rather than the general case above. The exact access it needs

More IAM checks

All IAM checks

Find out what is actually exposed in your AWS environment.

Connect one AWS account and run your first security assessment.

No credit card · Agentless · Read-only