SonicJS」のJWT検証に固定の鍵が使われる脆弱性、遠隔から攻撃される恐れ
Summary
SonicJSの3.0.1までの版には、認証トークン(JWT)の検証で固定の暗号鍵が使われる脆弱性があり、遠隔から攻撃される恐れがあります。悪用方法は公開されており、攻撃に使われる可能性があります。ベンダーは、JWT_SECRETが未設定または初期値のままの場合に警告を出し、本番環境ではエラーで停止する検査を追加しました。最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
SonicJSの3.0.1までの版には、認証トークン(JWT)の検証で固定の暗号鍵が使われる脆弱性があり、遠隔から攻撃される恐れがあります。悪用方法は公開されており、攻撃に使われる可能性があります。ベンダーは、JWT_SECRETが未設定または初期値のままの場合に警告を出し、本番環境ではエラーで停止する検査を追加しました。最新の情報を確認してください。
Original description The description as published by the source.
A vulnerability was determined in SonicJs-Org SonicJS up to 3.0.1. This impacts the function AuthManager.verifyToken of the file packages/core/src/middleware/auth.ts. Executing a manipulation can lead to use of hard-coded cryptographic key . It is possible to launch the attack remotely. The exploit has been publicly disclosed and may be utilized. A patch should be applied to remediate this issue. Vendor confirmed remediation by adding a bootstrap.ts security check that logs a warning in development and throws a hard error in production when JWT_SECRET is missing or still the default value.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vuldb.com
- advisory vuldb.com
- advisory vuldb.com
- advisory github.com
- advisory nvd.nist.gov
- report vuldb.com
- report github.com
- report github.com
- web github.com
- web github.com
- web github.com