Description
Flag Forge is a Capture The Flag (CTF) platform. In version 2.1.0, the /api/admin/assign-badge endpoint lacks proper access control, allowing any authenticated user to assign high-privilege badges (e.g., Staff) to themselves. This could lead to privilege escalation and impersonation of administrative roles. This issue has been patched in version 2.2.0.
Problem types
CWE-862: Missing Authorization
Product status
References
github.com/...gForge/security/advisories/GHSA-7944-xvv7-cv79