Test AWS Cognito User Pools for ghost identities
When testing an AWS Cognito User Pool with multiple external IdPs, try to create a ghost identity by registering a malicious OIDC server as an IdP and federating with an email address. If the PreSignUp_ExternalProvider trigger does not include a domain check, Cognito may persist the user record, allowing for potential abuse of other features. Look for cases where the PostConfirmation trigger throws an error, but the user record remains. Check if the platform has rollback mechanisms in place to delete such records and if they can be exploited within the operational window. Additionally, review the components reading the identity object for potential injection vulnerabilities.
Follow #authentication, #aws-cognito or #sso for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.