Description
Crawlab through 0.6.3 uses a hard-coded HMAC-SHA256 secret for JWT token signing that cannot be overridden via configuration or environment variables. Unauthenticated attackers can forge valid administrator tokens to access administrative APIs and execute code on worker nodes.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| crawlab-team | crawlab | ≤ 0.6.3 | — |
References
- GitHub Issue #1622 issue-tracking
- https://github.com/crawlab-team/crawlab product
- core/user/service_v2.go at 0485310 technical-description
- crawlab-core user/service.go, the module vendored at v0.6.3 technical-description
- VulnCheck Advisory: Crawlab through 0.6.3 Authentication Bypass via Hard-coded JWT Secret third-party-advisory