More Info:

Your web application should be using Amazon Cloudfront Content Distribution Network (CDN) to secure its content delivery to absorb and mitigate potential Distributed Denial of Service (DDoS) attacks and keep the application available for legitimate users.

Risk Level

Low

Address

Reliability, Security

Compliance Standards

CBP

Triage and Remediation

Remediation

The misconfiguration is that the web application is not using a Content Delivery Network (CDN) which can lead to slower load times and higher latency for users. Here are the step-by-step instructions to remediate this issue for AWS using the AWS console:

  1. Log in to the AWS Management Console.
  2. Navigate to the Amazon CloudFront service.
  3. Click on the “Create Distribution” button.
  4. Select the “Web” option for the type of distribution.
  5. In the “Origin Domain Name” field, enter the domain name of your web application.
  6. In the “Origin Protocol Policy” field, select “HTTPS Only” to ensure that all traffic to your web application is encrypted.
  7. In the “Viewer Protocol Policy” field, select “Redirect HTTP to HTTPS” to ensure that all traffic is encrypted.
  8. In the “Allowed HTTP Methods” field, select “GET, HEAD, OPTIONS, PUT, POST, PATCH, DELETE” to allow all necessary HTTP methods.
  9. In the “Price Class” field, select the appropriate price class for your needs.
  10. In the “Alternate Domain Names (CNAMEs)” field, enter any alternate domain names that you want to use for your web application.
  11. In the “Default Root Object” field, enter the name of the default file that should be served when a user accesses your web application.
  12. Click on the “Create Distribution” button to create your CDN distribution.

Once you have completed these steps, your web application will be using a CDN which will improve load times and reduce latency for your users.

Additional Reading: