A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
nest-admin before 1.0.1 contains an authentication bypass vulnerability that allows unauthenticated attackers to forge administrator tokens by using a hardcoded JWT_SECRET committed in .env.production. Attackers can sign tokens with the known secret that JwtStrategy and RbacGuard trust, impersonating any user ID or claiming the admin role for full administrative access.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /buqiyuan/nest-admin
- github.com /buqiyuan/nest-admin/blob/2eeccc4cb699d1aedbe04b4437a9d095c…
- github.com /buqiyuan/nest-admin/commit/f2cec8cb776cbf113115b33164dac69…
- github.com /buqiyuan/nest-admin/issues/92
- github.com /buqiyuan/nest-admin/issues/93
- www.vulncheck.com /advisories/nest-admin-before-1.0.1-authentication-bypass-v…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning