提交 #913575: zhistaredu 3.8.1 Use of Hard-coded Password信息

标题zhistaredu 3.8.1 Use of Hard-coded Password
描述产品:StarTraining 3.8.1 漏洞:JWT 硬编码密钥可伪造身份令牌 摘要:`application.yml` sets `token.secret` to a fixed 26-char string. `UserLoginService.createToken()` signs HS512 JWT without `exp`. Attacker can forge tokens for arbitrary `user_id` / `company_id`. 影响:Full API access as any user when secret is unchanged. 修复:Rotate secret via env; add exp/iat claims; remove debug println of secret/token.
来源⚠️ https://github.com/ArrestX/startraining-advisories/blob/main/advisories/ST-VULN-001-jwt-hardcoded-secret-forge.md
用户
 Vseen (UID 99867)
提交2026-08-03 02時17分 (2 月前)
管理2026-09-25 10時57分 (2 months later)
状态已接受
VulDB条目409898 [zhistaredu StarTraining 直到 3.8.1 JWT Token application.yml UserLoginService.createToken user_id/company_id 弱身份验证]
积分20

Want to know what is going to be exploited?

We predict KEV entries!