Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| agnaistic / agnai | affected 0 through 1.0.555 |
CWE
CWE-798
References
- https://hackmd.io/@haind/agnai-selfhost-compose-hardcoded-admin-jwt-secret
- https://github.com/agnaistic/agnai/blob/6c3de258cb33999c3f292c71aa031d2352681186/self-host.docker-compose.yml#L18-L26
- https://github.com/agnaistic/agnai/blob/6c3de258cb33999c3f292c71aa031d2352681186/README.md#L75-L82
- https://github.com/agnaistic/agnai/blob/6c3de258cb33999c3f292c71aa031d2352681186/srv/api/auth.ts#L11-L14
- https://github.com/agnaistic/agnai
- https://www.vulncheck.com/advisories/agnaistic-agnai-through-1.0.555-hard-coded-credentials-in-self-host-docker-compose
ADP enrichment
No English description supplied.