Description
CBoard before commit 7bd8180 contains a missing authorization vulnerability that allows any authenticated user to reach admin functions because AdminController and DashboardController methods bypass AOP role checks. Attackers with no role grants can call deleteUser, deleteRole, getUserList, getAllWidgetList and getAllDatasetList to read query configurations and delete accounts including the administrator.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
TuiQiao CBoard
Default version status: unaffected
0 to < 7bd8180d8423a36b29a803433078bd66f94a81edaffected
pkg:github/tuiqiao/cboardReferences
- https://github.com/TuiQiao/CBoard/issues/740 ↗
- https://github.com/TuiQiao/CBoard/commit/7bd8180d8423a36b29a803433078bd66f94a81ed ↗
- https://github.com/TuiQiao/CBoard/blob/046914c785eca1c1f91a8887ce36f1c2b34f25f6/src/main/java/org/cboard/controller/AdminController.java#L72-L98 ↗
- https://github.com/TuiQiao/CBoard/blob/046914c785eca1c1f91a8887ce36f1c2b34f25f6/src/main/java/org/cboard/services/role/ConfigRuleService.java#L135-L158 ↗
- https://www.vulncheck.com/advisories/cboard-before-commit-7bd8180-missing-authorization-in-admin-and-dashboard-endpoints ↗