漏洞描述
Kener 3.0.0 before 4.1.10 falls back to the hardcoded JWT secret "DUMMY_SECRET" when the KENER_SECRET_KEY environment variable is unset or empty. An unauthenticated attacker can forge session cookies and password-reset tokens signed with that key. A forged password-reset token accepted by POST /account/forgot/api/password-reset produces a distinct response: the request passes token verification and fails only later at user lookup ("User does not exist"), whereas patched versions reject the token signature immediately with "Invalid or expired token".
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。