CloudFront serves content to viewers over plain HTTP

Severity
Medium
Service
CloudFront
Check ID
CLOUDFRONT_VIEWER_HTTP_ALLOWED

What this check finds

A cache behaviour of this distribution has Viewer protocol policy "HTTP and HTTPS" (allow-all), so viewers can be served unencrypted, and anyone on their network can read or change the response.

Passing looks like: CloudFront serves viewers over HTTPS only.

How to fix it

Set the viewer protocol policy of each listed behaviour to Redirect HTTP to HTTPS, or HTTPS only.

AWS console

CloudFront → Distributions → select distribution → Behaviors → select behaviour → Edit → Viewer protocol policy.

Compliance controls it is evidence for

A failing result counts against these controls in KloudLytics; a passing one is evidence towards them. How compliance mapping works

Compliance controls mapped to CloudFront serves content to viewers over plain HTTP
FrameworkControls
PCI-DSS v4.0.1
  • 4.2 PAN is protected with strong cryptography during transmission over open, public networks
NIST SP 800-53 Rev5 (Moderate)
  • SC-8 Transmission Confidentiality and Integrity
  • SC-23 Session Authenticity
NIST Cybersecurity Framework 2.0
  • PR.DS-02 Data-in-transit is protected
ISO/IEC 27001:2022 Annex A
  • A.8.24 Use of cryptography

Checked on every scan

KloudLytics runs this check each time it scans a connected AWS account, through a read-only role, and lists every affected resource with its region. On Pro and Business a fix is written for the specific resource rather than the general case above. The exact access it needs

More CloudFront checks

All CloudFront checks

Find out what is actually exposed in your AWS environment.

Connect one AWS account and run your first security assessment.

No credit card · Agentless · Read-only