Exposure template · high
HashiCorp Consul agent exposed
A Consul agent answers /v1/agent/self without an ACL token, exposing its full configuration, members and service catalog. An open Consul API leaks internal service topology and often permits service/KV modification.
What it checks
On every web host the scan discovers, Spiderfootplus sends one GET request and reports a finding when the response matches. It only reads; it never logs in, writes or exploits.
/v1/agent/self
Detect it
# Every exposure template, with the rest of the web checks$ spiderfootplus scan example.com -p web # List the templates and their severities$ spiderfootplus templatestemplate_scan is marked invasive: it requests paths a normal visitor would not. Only scan hosts you are authorised to test.
Fix it: take the service off the public internet
- Restrict access by network: a firewall rule, security group or VPN so only operators can reach it.
- Require authentication, and change any default credentials.
- Update the product to a supported version; exposed admin and API consoles are common targets.
- Check the service's own logs for access you do not recognise.
Write your own
Templates are YAML in a nuclei-compatible format. See Write a vulnerability template to add a check like this one.