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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
crawlab-team crawlab
Default version status: unaffected
0 to ≤ 0.6.3affected
References
- https://github.com/crawlab-team/crawlab/issues/1622 ↗
- https://github.com/crawlab-team/crawlab ↗
- https://github.com/crawlab-team/crawlab/blob/0485310def8b4f31ea20997846a8d5e7dfc681e5/core/user/service_v2.go ↗
- https://github.com/crawlab-team/crawlab-core/blob/main/user/service.go ↗
- https://www.vulncheck.com/advisories/crawlab-through-0.6.3-authentication-bypass-via-hard-coded-jwt-secret ↗