HIGHCIS 5.2

Ensure security groups do not allow ingress from 0.0.0.0/0 to port 22

Security groups should not allow SSH access (port 22) from the internet (0.0.0.0/0). Use bastion hosts, VPN, or AWS Systems Manager Session Manager.

Security Impact

Open SSH access allows brute force attacks and unauthorized access attempts from any IP address.

How to Remediate

Remove rules allowing 0.0.0.0/0 or ::/0 to port 22. Restrict access to specific IP ranges or use AWS Systems Manager Session Manager.

Affected Resources

AWS::EC2::SecurityGroup

Compliance Frameworks

CIS AWS v1.5.0CIS AWS v2.0SOC 2PCI-DSSHIPAA

How TigerGate Helps

TigerGate continuously monitors your AWS environment to detect and alert on this misconfiguration. Here's what our platform does for this specific check:

  • Continuous Scanning

    Automatically scans all Elastic Compute Cloud (EC2) resources across your AWS accounts every hour

  • Instant Alerts

    Get notified via Slack, email, or webhooks when this misconfiguration is detected

  • One-Click Remediation

    Fix this issue directly from the TigerGate dashboard with our guided remediation

  • Compliance Evidence

    Automatically collect audit evidence for CIS AWS v1.5.0, CIS AWS v2.0, SOC 2 compliance

  • Drift Detection

    Get alerted if this configuration drifts back to an insecure state after remediation

Check Details

Check ID
aws-ec2-9
Service
Elastic Compute Cloud (EC2)
Category
Network Security
Severity
HIGH
CIS Benchmark
5.2

Automate This Check

TigerGate automatically scans your AWS environment for this and 575+ other security checks.

Start Free Trial