ng-antd-adminに認証回避の脆弱性、22.0で修正
Summary
管理画面テンプレートのng-antd-adminで、同梱されたJWTの既定シークレットを替えずに運用していると、管理者を含む任意のユーザーになりすませる脆弱性が見つかりました。22.0より前の版を使い、このテンプレートから作った社内システムや受託案件がある組織が対象です。シークレットの差し替えと22.0への更新を進めてください。
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
管理画面テンプレートのng-antd-adminで、同梱されたJWTの既定シークレットを替えずに運用していると、管理者を含む任意のユーザーになりすませる脆弱性が見つかりました。22.0より前の版を使い、このテンプレートから作った社内システムや受託案件がある組織が対象です。シークレットの差し替えと22.0への更新を進めてください。
Original description The description as published by the source.
ng-antd-admin is an Angular and NestJS administration system template. Prior to 22.0, a hardcoded default JWT secret permits token forgery when a deployment has not replaced the default secret, without a startup warning. An attacker can bypass authentication and authorization, impersonate any user including administrators, and access protected API endpoints, leading to account takeover, data leakage and unauthorized operations. Version 22.0 rejects the shipped secret in production but permits it with a warning in non-production environments.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com