More Info:

Determines if TCP port 23 for Telnet is open to the public.

Risk Level

Medium

Address

Security

Compliance Standards

SOC2, GDPR, ISO27001, HIPAA, HITRUST, NISTCSF, PCIDSS, FedRAMP

Triage and Remediation

Remediation

To remediate the misconfiguration of “Telnet Port Should Not Be Open” for GCP using GCP console, please follow the below steps:

  1. Login to your GCP console.
  2. Navigate to the GCP project which has the instance with the open Telnet port.
  3. Click on the hamburger menu on the top left corner of the console and select “Compute Engine” under the “Compute” section.
  4. From the list of instances, select the instance with the open Telnet port.
  5. Click on the “Edit” button at the top of the page.
  6. Scroll down to the “Firewall” section and click on “Management, disks, networking, SSH keys”.
  7. Under the “Firewall” section, click on “default-allow-internal”.
  8. Scroll down to the “Protocols and ports” section and uncheck the “tcp:23” option.
  9. Click on the “Save” button at the bottom of the page.

By following the above steps, you have successfully remediated the misconfiguration of “Telnet Port Should Not Be Open” for GCP using GCP console.

Additional Reading: