Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
shiori - JWT CheckToken Never Re-Validates Account State, Allowing Stale-Privilege Access After Deletion or Demotion
Vulnerability Description
Shiori's CheckToken function (internal/domains/auth.go) validates only the JWT's HMAC signature and returns the embedded claims.Account object unmodified, never re-fetching the account from the database. No session store or token-revocation mechanism exists in the codebase.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
Vulnerability Type
不充分的会话过期机制
Vulnerability Title
go-shiori shiori 会话机制问题漏洞
Vulnerability Description
go-shiori shiori是go-shiori个人开发者开源的一款书签管理工具。 go-shiori shiori存在会话机制问题漏洞,该漏洞源于internal/domains/auth.go中的CheckToken函数仅验证JWT的HMAC签名并返回嵌入的claims.Account对象,未重新从数据库获取账户,且没有会话存储或令牌撤销机制,导致已删除或降级的账户令牌仍以原所有者权限继续认证,可能造成权限提升。
CVSS Information
N/A
Vulnerability Type
N/A