Description
Agnaistic agnai through 1.0.555 contains a hard-coded credentials vulnerability in self-host.docker-compose.yml, which sets a fixed admin password and public JWT secret. Unauthenticated attackers can log in as admin or sign their own JWT with admin: true to impersonate users, reset passwords, and change server configuration.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| agnaistic | agnai | ≤ 1.0.555 | — |
References
- https://hackmd.io/@haind/agnai-selfhost-compose-hardcoded-admin-jwt-secret third-party-advisory
- https://github.com/agnaistic/agnai/blob/6c3de258cb33999c3f292c71aa031d2352681186/self-host.docker-compose.yml#L18-L26 technical-description
- https://github.com/agnaistic/agnai/blob/6c3de258cb33999c3f292c71aa031d2352681186/README.md#L75-L82 technical-description
- https://github.com/agnaistic/agnai/blob/6c3de258cb33999c3f292c71aa031d2352681186/srv/api/auth.ts#L11-L14 technical-description
- https://github.com/agnaistic/agnai product
- VulnCheck Advisory: Agnaistic agnai through 1.0.555 Hard-Coded Credentials in self-host Docker Compose third-party-advisory