Description
Kerberos Agent before 3.14.4 contains an authentication bypass vulnerability that allows unauthenticated attackers to forge administrator tokens because JWTMiddleWare() falls back to the hard-coded key TOBECHANGED. Attackers can sign HS256 tokens with arbitrary username and role claims to access /api and /config routes, exposing RTSP, ONVIF, Hub and encryption keys, rewriting configuration, and stopping the camera.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| kerberos-io | Kerberos Agent | < 3.14.4 | 3.14.4 |
References
- GitHub Security Advisory (GHSA-3c52-7fc8-c39j) vendor-advisory
- https://github.com/kerberos-io/agent/commit/c0baade8fd6e21ed1b9a834d9ae6b4eaaa67b3b6 patch
- https://github.com/kerberos-io/agent/pull/361 patch issue-tracking
- Kerberos Agent v3.14.4 Release Notes release-notes
- https://github.com/kerberos-io/agent/blob/v3.14.1/machinery/src/routers/http/jwt_middleware.go#L17-L28 technical-description
- VulnCheck Advisory: Kerberos Agent before 3.14.4 Authentication Bypass via Hard-coded JWT Signing Key third-party-advisory