Check ID: cognito_user_pool_password_policy_number
Provider: AWS
Service: cognito
Severity: MEDIUM
Categories: identity-access
Resource type: Other

What this check verifies

Amazon Cognito user pools are evaluated for a password policy that requires at least one number. The assessment checks whether the policy enforces a numeric character via RequireNumbers and also identifies pools with no password policy configured.

Risk

Absent a numeric requirement-or any password policy-reduces password entropy, enabling brute force and credential stuffing. Successful account takeover grants valid tokens to protected APIs, risking data confidentiality, unauthorized actions affecting integrity, and resource abuse impacting availability.

Recommendation

Enforce a strong password policy: require numbers (RequireNumbers=true), adequate length (e.g., >=8), and mixed case/symbols. Complement with MFA, login throttling/lockout, and password reuse limits for defense in depth. Apply least privilege to applications using tokens and monitor authentication activity.

Remediation

aws cognito-idp update-user-pool --user-pool-id <USER_POOL_ID> --policies '{"PasswordPolicy":{"RequireNumbers":true}}'

References

Where this check fires

This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable by Check ID = cognito_user_pool_password_policy_number. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks