CyberHunter
Local dataset, no network
// DevOps, cloud & containers

Port 5302: HA cluster configuration

Port 5302 is assigned by IANA to hacl-cfg (HA cluster configuration).

5302

How hacl-cfg works

DevOps, cloud & containers
adminhosthacl-cfg adminhosthacl-cfg

Commands sent to port 5302 create and control containers or cluster resources on the host.

Transport
TCP · UDP
Exposure risk
not rated depends on the program listening
Encryption
Unknownnot stated by the registry
IANA status
Assigned1 registered service
Range
Registered (1024-49151)
01 Security

Is port 5302 dangerous?

We have no specific security note for port 5302. Its risk depends on the program actually listening on it. General advice for devops, cloud & containers services:

  • Container and orchestration APIs give full control of hosts: require mutual TLS and RBAC.
  • Never expose them to the Internet.
  • Rotate tokens and certificates and audit who has access.
02 Registry

IANA registry entries for port 5302

ServicePortTransportDescriptionReferenceUpdated
hacl-cfg 5302 TCP, UDP HA cluster configuration - -

// source: IANA service name and port number registry

03 Check it

Which program uses port 5302, and is it reachable?

Linux

sudo ss -ltnup 'sport = :5302'      # process listening on 5302
sudo lsof -nP -i :5302

macOS

sudo lsof -nP -i :5302

Windows (PowerShell)

Get-NetTCPConnection -LocalPort 5302 -State Listen | Select LocalAddress, OwningProcess
Get-NetUDPEndpoint -LocalPort 5302
netstat -ano | findstr :5302

From another machine

nmap -p 5302 -sV <host>
sudo nmap -sU -p 5302 <host>
nc -zv <host> 5302

Block it in the firewall

sudo ufw deny 5302/tcp                                         # Linux (ufw)
New-NetFirewallRule -DisplayName "Block 5302" -Direction Inbound -LocalPort 5302 -Protocol TCP -Action Block  # Windows
04 FAQ
What is port 5302 used for?

Port 5302 is assigned by IANA to hacl-cfg (HA cluster configuration).

Is port 5302 TCP or UDP?

Port 5302 is registered for TCP and UDP.

Is it safe to open port 5302?

It depends on the program that listens on it. Open it only for a service you know and only to the networks that need it. Container and orchestration APIs give full control of hosts: require mutual TLS and RBAC.

How do I check if port 5302 is open?

On Linux run "ss -ltnup 'sport = :5302'", on macOS "lsof -nP -i :5302", and on Windows "netstat -ano | findstr :5302" to see the local process. From another machine, "nmap -p 5302 <host>" shows whether it is reachable.

05 Related

Latest vulnerability news

All news