More Info:

No security group should allow unrestricted inbound access to TCP ports 20 and 21 (FTP).

Risk Level

Medium

Address

Security

Compliance Standards

HITRUST, AWSWAF, GDPR, SOC2, NISTCSF, PCIDSS, FedRAMP

Triage and Remediation

Remediation

To remediate the unrestricted FTP access issue in AWS, follow these steps:

  1. Log in to the AWS Management Console.
  2. Navigate to the EC2 dashboard.
  3. Select the EC2 instance(s) that have unrestricted FTP access.
  4. Click on the “Security Groups” tab at the bottom of the page.
  5. Identify the security group that is associated with the instance(s) and click on it.
  6. Click on the “Inbound Rules” tab.
  7. Locate the rule that allows unrestricted FTP access (port 21) and select it.
  8. Click on the “Delete” button to remove the rule.
  9. Click on the “Save” button to apply the changes.

Once you have completed these steps, the unrestricted FTP access issue will be remediated for the selected EC2 instance(s).

Additional Reading: