More Info:

No security group should allow unrestricted inbound access to TCP port 80 (HTTP).

Risk Level

Medium

Address

Security

Compliance Standards

SOC2, GDPR, AWSWAF

Triage and Remediation

Remediation

To remediate the issue of unrestricted HTTP access in AWS, you can follow the below steps:

  1. Login to your AWS console.
  2. Go to the EC2 dashboard.
  3. Click on the “Security Groups” option on the left-hand side menu.
  4. Select the security group that is associated with the instance that has unrestricted HTTP access.
  5. Click on the “Inbound Rules” tab.
  6. Find the rule that allows unrestricted HTTP access (port 80).
  7. Click on the “Edit” button for that rule.
  8. Change the source from “0.0.0.0/0” to a specific IP address or range of IP addresses that you want to allow access from.
  9. Click on the “Save” button to save the changes.

By following these steps, you have remediated the issue of unrestricted HTTP access in AWS by restricting access to a specific IP address or range of IP addresses.

Additional Reading: