Description
Devtron through 2.2.0 fails to enforce authorization checks on the GET /orchestrator/api-token/webhook endpoint, allowing authenticated users to retrieve admin API tokens. Attackers with any authenticated account can query the endpoint with arbitrary project, environment, and application parameters to retrieve plaintext super-admin JWT tokens for full platform control.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| devtron-labs | devtron | ≤ 2.2.0 | — |
References
- GitHub Issue #7013 issue-tracking
- https://github.com/devtron-labs/devtron product
- https://github.com/devtron-labs/devtron/blob/v2.2.0/api/apiToken/ApiTokenRestHandler.go technical-description
- https://github.com/devtron-labs/devtron/blob/v2.2.0/pkg/apiToken/ApiTokenService.go technical-description
- VulnCheck Advisory: Devtron through 2.2.0 Missing Authorization via webhook API token endpoint third-party-advisory