AWS cognito medium security documentation change
Summary
Clarified TOTP setup process and updated AWS WAF CAPTCHA interaction note
Security assessment
The change documents a security-relevant limitation where AWS WAF CAPTCHA rules can disrupt TOTP MFA registration in managed login flows. This directly impacts security posture by highlighting a scenario where MFA enrollment (a security feature) might fail due to WAF configuration conflicts.
Diff
diff --git a/cognito/latest/developerguide/user-pool-settings-mfa-totp.md b/cognito/latest/developerguide/user-pool-settings-mfa-totp.md index 990d9a5a8..9f6829bac 100644 --- a//cognito/latest/developerguide/user-pool-settings-mfa-totp.md +++ b//cognito/latest/developerguide/user-pool-settings-mfa-totp.md @@ -75 +75 @@ To associate the TOTP token, send your user a secret code that they must validat - 2. Your app presents the user with the private key, or a QR code that you generate from the private key. Your user must enter the key into a TOTP-generating app such as Google Authenticator. You can use [libqrencode](https://github.com/fukuchi/libqrencode/) to generate a QR code. + 2. Your app presents the user with the private key, or a QR code that you generate from the private key. Your user must enter the key into a TOTP-generating app like Google Authenticator, either by scanning the QR code that your application generates from the private key or by manually entering the key. @@ -133 +133 @@ Finally, your app should allow your user to deactivate their TOTP configuration. -When you have an AWS WAF web ACL associated with a user pool, and a rule in your web ACL presents a CAPTCHA, this can cause an unrecoverable error in managed login and managed login TOTP registration. AWS WAF CAPTCHA rules _only_ have this effect on TOTP MFA in managed login and the classic hosted UI. SMS MFA is unaffected. +When you have an AWS WAF web ACL associated with a user pool, and a rule in your web ACL presents a CAPTCHA, this can cause an unrecoverable error in managed login TOTP registration. AWS WAF CAPTCHA rules _only_ have this effect on TOTP MFA in managed login and the classic hosted UI. SMS MFA is unaffected.