Description
Shiori contains a privilege escalation vulnerability in the account update endpoint that allows authenticated users to modify the owner field without authorization checks. Attackers can escalate to administrator by submitting a crafted PATCH request with owner: true, then re-authenticate to obtain an admin JWT token granting full system access.
Problem types
Product status
Any version before 1.8.0
Credits
George Chen
References
github.com/go-shiori/shiori/issues/1196
github.com/go-shiori/shiori/issues/1196 (GitHub Issue)
github.com/go-shiori/shiori (Product Details)
github.com/...ommit/6c8a7dbc11b131609bfda736b14d61c51f9027b2 (Patch Commit)
www.vulncheck.com/...scalation-via-patch-api-v1-auth-account