Description
Sharkord before 0.0.8 contains a missing authorization vulnerability that allows any authenticated member to change server-wide settings by calling the others.updateSettings tRPC mutation without the MANAGE_SETTINGS permission. Attackers can set a join password, disable registration, zero upload limits, or toggle plugin loading to deny service to other members.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Sharkord | sharkord | < 0.0.8 | 0.0.8 |
References
- https://github.com/Sharkord/sharkord/issues/387 issue-tracking
- https://github.com/Sharkord/sharkord/commit/3866cd3a352e99ddedbd9f809261dacaca4d2c29 patch
- sharkord v0.0.8 Release Notes release-notes
- https://github.com/Sharkord/sharkord/blob/v0.0.7/apps/server/src/routers/others/update-settings.ts technical-description
- VulnCheck Advisory: Sharkord before 0.0.8 Missing Authorization via updateSettings tRPC Route third-party-advisory