Description
flaskBlog is a blog app built with Flask. In 2.8.0 and earlier, an arbitrary user can change his role to "admin", giving its relative privileges (e.g. delete users, posts, comments etc.). The problem is in the routes/adminPanelUsers file.
Problem types
CWE-425: Direct Request ('Forced Browsing')
CWE-807: Reliance on Untrusted Inputs in a Security Decision
Product status
References
github.com/...skBlog/security/advisories/GHSA-6q83-vfmq-wf72