bbs-go through 4.4.6 Incorrect Authorization via /api/admin/user/synccount
mlogclub bbs-go
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| mlogclub bbs-go |
| No fix yet |
Original description
bbs-go through 4.4.6 contains a permission bypass vulnerability in the AdminMiddleware authorization logic where the read-only dashboard.user.view permission rule matches the /api/admin/user/synccount endpoint before the intended dashboard.user.update rule. Authenticated users with only view permissions can call the synccount endpoint to trigger expensive full-table user recounts and cache invalidations, causing denial of service through repeated concurrent database operations.
From the CVE record · VulnCheck