Consul
Recon
# Usefull info
curl http://ip:8500/v1/agent/self
curl http://ip:8500/v1/catalog/nodes
curl http://ip:8500/v1/agent/services
curl http://ip:8500/v1/kv/?keys
# Check if exploitable
curl ip:8500/v1/agent/self | jq | grep -i ACLsEnabled # false=no-auth
curl ip:8500/v1/agent/self | jq | grep -i script # EnableRemoteScriptChecks=true - add-check=RCESsrf
Register agent
Get output
Unregister agent
Rce
Last updated