AWS-IAM-Bad-MFA-Policy
Severity : Medium
Description: This control checks that IAM policy allowed changes to MFA configuration to IAM users its attached with. AWS Policy allows IAM users to self manage MFA. The policy can grant permission to update the MFA programmatically as well. If IAM user credentials are compromised, it will allow attacker to remove MFA from themselves, or remove the existing MFA device and add their own. It is advised that this policy should be updated to not allow deleting or adding MFA and MFA devices.
Remediation Steps:
Perform following to update custom managed IAM policy :
Login to the AWS Management Console at https://console.aws.amazon.com.
Navigate to IAMÂ console.
In navigation , choose Policies.
Select reported user managed policy from the list.
Select Edit Policy, in JSON editor. Edit policy to remove actions to CreateVirtualMFADevice, EnableMFADevice, DeactivateMFADevice.
Select Review Policy.
Select Save Policy to save changes.
Important:
Reference:
Blue Hexagon Proprietary