Skip to content

Conversation

@artsploit
Copy link

  • Enable Consul ACL with token-based authentication
  • Use CONSUL_INITIAL_MANAGEMENT_TOKEN environment variable (default: CHANGE-ME-IN-PRODUCTION)
  • Configure Spring Cloud Consul client to use ACL token
  • All unauthorized Consul API requests now blocked with 403
  • Prevents RCE via SpEL injection through unprotected Consul instance

Changes:

  • docker-compose.yml: Enable ACL in Consul with inline HCL configuration
  • bootstrap.yml: Add acl-token configuration for Spring Cloud Consul client

- Enable Consul ACL with token-based authentication
- Use CONSUL_INITIAL_MANAGEMENT_TOKEN environment variable (default: CHANGE-ME-IN-PRODUCTION)
- Configure Spring Cloud Consul client to use ACL token
- All unauthorized Consul API requests now blocked with 403
- Prevents RCE via SpEL injection through unprotected Consul instance

Changes:
- docker-compose.yml: Enable ACL in Consul with inline HCL configuration
- bootstrap.yml: Add acl-token configuration for Spring Cloud Consul client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant